minor fix, function 'main' assigns to var 'success'
This commit is contained in:
parent
23e07c376a
commit
461a8587ad
@ -58,7 +58,7 @@ def main():
|
|||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
success = False
|
success = False
|
||||||
try:
|
try:
|
||||||
main()
|
success = main()
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
print("\n\t The script probably didn't find the page templates needed to generate a page. You can copy minimal working examples from the repository at templates/.")
|
print("\n\t The script probably didn't find the page templates needed to generate a page. You can copy minimal working examples from the repository at templates/.")
|
||||||
|
Loading…
Reference in New Issue
Block a user