mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
parent
d32f4ca325
commit
0f527a01f4
@ -28,7 +28,7 @@ class Reloader(threading.Thread):
|
||||
fnames = [
|
||||
re.sub('py[co]$', 'py', module.__file__)
|
||||
for module in list(sys.modules.values())
|
||||
if hasattr(module, '__file__')
|
||||
if getattr(module, '__file__', None)
|
||||
]
|
||||
|
||||
with self._extra_files_lock:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user