Merge pull request #1575 from mburst/ticket_21049
Fixed #21049 -- Fixed autoreload for Python 3
This commit is contained in:
commit
ce5e09353d
|
@ -57,7 +57,7 @@ _error_files = []
|
|||
def code_changed():
|
||||
global _mtimes, _win
|
||||
filenames = []
|
||||
for m in sys.modules.values():
|
||||
for m in list(sys.modules.values()):
|
||||
try:
|
||||
filenames.append(m.__file__)
|
||||
except AttributeError:
|
||||
|
|
Loading…
Reference in New Issue