mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-03 19:28:25 +02:00
added extra new line for PEP
This commit is contained in:
parent
d65e932928
commit
460fe028ea
2 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
import traceback
|
import traceback
|
||||||
from tkinter import messagebox
|
from tkinter import messagebox
|
||||||
|
|
||||||
|
|
||||||
def log_error(self):
|
def log_error(self):
|
||||||
error = traceback.format_exc()
|
error = traceback.format_exc()
|
||||||
with open("./error.log", "a") as f: f.write(f"---\n{error}\n")
|
with open("./error.log", "a") as f: f.write(f"---\n{error}\n")
|
||||||
|
|
|
@ -30,7 +30,6 @@ def patch_file(self):
|
||||||
except: self.log_error()
|
except: self.log_error()
|
||||||
finally: self.Progress(show=False)
|
finally: self.Progress(show=False)
|
||||||
|
|
||||||
|
|
||||||
t = Thread(target=func)
|
t = Thread(target=func)
|
||||||
t.setDaemon(True)
|
t.setDaemon(True)
|
||||||
t.start()
|
t.start()
|
||||||
|
|
Loading…
Reference in a new issue