diff options
-rw-r--r-- | playoff.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -6,19 +6,19 @@ from jfr_playoff.filemanager import PlayoffFileManager def main(): try: - s = PlayoffSettings() + settings = PlayoffSettings() - generator = PlayoffGenerator(s) + generator = PlayoffGenerator(settings) content = generator.generate_content() - file_manager = PlayoffFileManager(s) + file_manager = PlayoffFileManager(settings) file_manager.write_content(content) file_manager.copy_scripts() file_manager.send_files() except: print traceback.format_exc() finally: - if s.interactive: + if settings.interactive: raw_input('Press any key to continue...') if __name__ == '__main__': |