diff options
author | emkael <emkael@tlen.pl> | 2017-08-01 01:25:10 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-08-01 01:25:10 +0200 |
commit | 66fab46d7edc0c20d0c74c74daca70d022f9a5c6 (patch) | |
tree | 8f3f751c103ce786c8c00135912c2486725fbfa5 | |
parent | 86b6207e42a61b18318ac7ef34eb603df740db04 (diff) |
main() called only if playoff.py is an entry script
-rw-r--r-- | playoff.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -13,4 +13,5 @@ def main(): file_manager.copy_scripts() file_manager.send_files() -main() +if __name__ == '__main__': + main() |