[Packaging] Fix typo in bbfreeze

This commit is contained in:
Calum Lind 2015-08-26 12:08:06 +01:00
parent df3a3c77eb
commit 4b3684bc5d

View File

@ -73,7 +73,7 @@ for script in glob.glob(python_path + "Scripts\\deluge*-script.py*"):
shutil.copy(script, new_script)
script_splitext = os.path.splitext(os.path.basename(new_script))
if script_splitext[1] == "pyw" or script_splitext[0] in force_gui:
if script_splitext[1] == ".pyw" or script_splitext[0] in force_gui:
gui_script = True
else:
gui_script = False