diff --git a/django/utils/autoreload.py b/django/utils/autoreload.py
index ec7b103..ffc60d4 100644
|
a
|
b
|
def code_changed():
|
| 57 | 57 | for filename in filter(lambda v: v, map(lambda m: getattr(m, "__file__", None), sys.modules.values())): |
| 58 | 58 | if filename.endswith(".pyc") or filename.endswith(".pyo"): |
| 59 | 59 | filename = filename[:-1] |
| | 60 | if filename.endswith("$py.class"): |
| | 61 | filename = filename[:-9] + ".py" |
| 60 | 62 | if not os.path.exists(filename): |
| 61 | 63 | continue # File might be in an egg, so it can't be reloaded. |
| 62 | 64 | stat = os.stat(filename) |