Fix windows specific encoding errors

This commit is contained in:
Ritiek Malhotra
2017-06-29 13:04:19 +05:30
committed by GitHub
parent 2270fb89a3
commit d03da58fed

View File

@@ -135,7 +135,7 @@ def filter_path(path):
os.makedirs(path) os.makedirs(path)
for temp in os.listdir(path): for temp in os.listdir(path):
if temp.endswith('.temp'): if temp.endswith('.temp'):
os.remove(u'{0}/{1}'.format(path, temp)) os.remove('{0}/{1}'.format(path, temp))
def grace_quit(): def grace_quit():