added newline to error to make it more readable

This commit is contained in:
raphael60650 2021-11-20 18:03:23 +01:00
parent 36773a71ea
commit c923966c98

View file

@ -289,8 +289,8 @@ class Gui:
with open("./error.log", "a") as f: with open("./error.log", "a") as f:
f.write(f"---\n" f.write(f"---\n"
f"For game version : {self.game.ctconfig.version}\n" f"For game version : {self.game.ctconfig.version}\n"
f"./file/ directory : {os.listdir('./file/')}" f"./file/ directory : {os.listdir('./file/')}\n"
f"GAME/files/ information : {self.game.path, self.game.region}" f"GAME/files/ information : {self.game.path, self.game.region}\n"
f"{error}\n") f"{error}\n")
messagebox.showerror(self.translate("Error"), self.translate("An error occured", " :", "\n", error, "\n\n")) messagebox.showerror(self.translate("Error"), self.translate("An error occured", " :", "\n", error, "\n\n"))