Fixed an issue with absolute paths on windows.
This commit is contained in:
parent
236666eaf6
commit
cc3ce840d9
3 changed files with 7 additions and 4 deletions
3
utils.py
3
utils.py
|
|
@ -20,6 +20,9 @@ def get_temp_dir():
|
|||
def log(*args):
|
||||
if DEBUG:
|
||||
print(*args)
|
||||
with open('error.log', 'a+') as f:
|
||||
f.write(', '.join(args))
|
||||
f.write('\n')
|
||||
|
||||
def open_folder_in_explorer(path):
|
||||
if platform.system() == "Windows":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue