Fixed an issue with absolute paths on windows.

This commit is contained in:
Joey Payne 2015-02-02 08:30:45 +13:00
commit 7e1f8cfea6
3 changed files with 7 additions and 4 deletions

View file

@ -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":