summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-08-01 01:46:12 +0200
committeremkael <emkael@tlen.pl>2017-08-01 01:46:12 +0200
commitc2cdc9bdab6cbbffa7b825f0277c49f49afac6cf (patch)
tree8e3d7b1692966cd2d4c6863b3359e4b2da9c0ac3
parent022f2cc6d067769a6c8e56601c0238aac69ec9ab (diff)
Meaningful variable name
-rw-r--r--playoff.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/playoff.py b/playoff.py
index 59038f8..48da011 100644
--- a/playoff.py
+++ b/playoff.py
@@ -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__':