Fix tmp dir creation.

This commit is contained in:
Jack Stdin 2016-02-14 17:07:27 +03:00
parent 39df2adef5
commit 9a0cf44ff3

View File

@ -23,7 +23,7 @@ class AoRar:
if os.path.isfile(local_filename):
os.remove(local_filename)
else:
os.makedirs(local_filename)
os.makedirs(folders.temp)
request = requests.get(url, stream=True)
with open(local_filename, 'wb') as f: