diff --git a/acid/acid.py b/acid/acid.py index 55910ec..a3578f1 100644 --- a/acid/acid.py +++ b/acid/acid.py @@ -12,12 +12,16 @@ try: from web_fragments.fragment import Fragment - from xblock.utils.resources import ResourceLoader except: from xblock.fragment import Fragment # For backward compatibility with quince and earlier. + +try: + from xblock.utils.resources import ResourceLoader +except: from xblockutils.resources import ResourceLoader + def generate_fields(cls): """ A class decorator that generates fields for all field scopes.