##// END OF EJS Templates
Catch if module file is not set...
ajholyoake -
Show More
@@ -183,7 +183,7 b' class ModuleReloader(object):'
183 183 return top_module, top_name
184 184
185 185 def filename_and_mtime(self, module):
186 if not hasattr(module, '__file__'):
186 if not hasattr(module, '__file__') or module.__file__ is None:
187 187 return None, None
188 188
189 189 if module.__name__ == '__main__':
General Comments 0
You need to be logged in to leave comments. Login now