GUI.pyw: Fix wmlxgettext run failing if the output file already exists

(cherry-picked from commit 5795892649)
This commit is contained in:
Celtic Minstrel 2018-04-29 14:03:14 -04:00
parent 9888bd2f16
commit ec207923e4

View file

@ -1327,8 +1327,7 @@ Do you want to overwrite it?""".format(output_file))
wmlxgettext won't be run""")
return
else:
wmlxgettext_command_string.extend(["-o",self.wmlxgettext_tab.output_variable.get()])
wmlxgettext_command_string.extend(["-o",self.wmlxgettext_tab.output_variable.get()])
if self.wmlxgettext_tab.warnall_variable.get():
wmlxgettext_command_string.append("--warnall")
if self.wmlxgettext_tab.fuzzy_variable.get():