stop function if there's a problem in track conversion

This commit is contained in:
raphael60650 2021-06-18 16:44:57 +02:00
parent c48765f9b0
commit 45071bb469

View file

@ -22,7 +22,7 @@ def patch_file(self):
self.patch_image(fc) self.patch_image(fc)
for file in glob.glob(self.path_mkwf+"/files/Scene/UI/MenuSingle_?.szs"): self.patch_bmg(file) for file in glob.glob(self.path_mkwf+"/files/Scene/UI/MenuSingle_?.szs"): self.patch_bmg(file)
self.patch_autoadd() self.patch_autoadd()
self.patch_track(tracks, total_track) if self.patch_track(tracks, total_track) != 0: return
self.button_install_mod.grid(row=2, column=1, columnspan=2, sticky="NEWS") self.button_install_mod.grid(row=2, column=1, columnspan=2, sticky="NEWS")