fix autoreload condition
Jiri Suchan
7 years ago
25 | 25 |
new_contents = os.listdir(dir)
|
26 | 26 |
if new_contents != old_contents:
|
27 | 27 |
# Directory contents changed => should_reload
|
28 | |
new_contents = old_contents
|
|
28 |
old_contents = new_contents
|
29 | 29 |
_.should_reload = True
|
30 | 30 |
|
31 | 31 |
|