Klaus Demo ~jonashaag/klaus / 4f550dc
fix autoreload condition Jiri Suchan 7 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
2525 new_contents = os.listdir(dir)
2626 if new_contents != old_contents:
2727 # Directory contents changed => should_reload
28 new_contents = old_contents
28 old_contents = new_contents
2929 _.should_reload = True
3030
3131