Commits

megamahi committed 64a7c19

Fixed references

  • Participants
  • Parent commits 078b437

Comments (0)

Files changed (1)

File tw2/lesscss/base.py

 import tw2.core as twc
 import pkg_resources
+import os
 
 try:
     import version as ver
     def prepare(self):
         if not self.is_external:
             modname = self.modname or self.__module__
-            rl = core.request_local()
+            rl = twc.core.request_local()
             resources = rl['middleware'].resources
             resources.register(self.modname, os.path.dirname(self.filename), whole_dir=True)
         super(JSLinkMixin, self).prepare()