Merge pull request #1031 from talha131/bugfix-autoreload-doesnt-work

Fix for a bug that will make autoreload fail
This commit is contained in:
Justin Mayer 2013-08-13 06:17:56 -07:00
commit 7ddb542ac4

View file

@ -338,7 +338,7 @@ def main():
modified = {k: next(v) for k, v in watchers.items()}
if modified['settings']:
pelican = get_instance(args)
pelican, settings = get_instance(args)
if any(modified.values()):
print('\n-> Modified: {}. re-generating...'.format(