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