From 9a81e59d663774ce35f02f6d6ff1870edffee320 Mon Sep 17 00:00:00 2001 From: Thanasis Antoniou Date: Tue, 23 Jul 2019 17:46:15 +0300 Subject: DEVTOOLS: BLADERUNNER: More quality fixes (codacy) --- .../subtitles/mixResourceCreator/mixResourceCreator.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'devtools/create_bladerunner/subtitles/mixResourceCreator') diff --git a/devtools/create_bladerunner/subtitles/mixResourceCreator/mixResourceCreator.py b/devtools/create_bladerunner/subtitles/mixResourceCreator/mixResourceCreator.py index bcfd4e596a..8a7930053f 100644 --- a/devtools/create_bladerunner/subtitles/mixResourceCreator/mixResourceCreator.py +++ b/devtools/create_bladerunner/subtitles/mixResourceCreator/mixResourceCreator.py @@ -2,7 +2,7 @@ # -*- coding: UTF-8 -*- sysLibFound = False try: - import sys + import sys except ImportError: print ("[Error] sys python library is required to be installed!") else: @@ -10,7 +10,7 @@ else: if (not sysLibFound): sys.stdout.write("[Error] Errors were found when trying to import required python libraries\n") - sys.exit(1) + sys.exit(1) if not (sys.version_info[0] == 2 and sys.version_info[1] == 7): sys.stdout.write("[Error] Blade Runner MIX Resource Creator script requires Python 2.7\n") @@ -18,4 +18,4 @@ if not (sys.version_info[0] == 2 and sys.version_info[1] == 7): import packBladeRunnerMIXFromPCTLKXLS04 if __name__ == "__main__": - packBladeRunnerMIXFromPCTLKXLS04.main(sys.argv[0:]) \ No newline at end of file + packBladeRunnerMIXFromPCTLKXLS04.main(sys.argv[0:]) -- cgit v1.2.3