mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-21 12:19:27 +00:00
Blackhole option not creating the nzb files - added write argument to f.open
This commit is contained in:
@@ -415,7 +415,7 @@ def searchNZB(albumid=None, new=False):
|
||||
nzb_name = nzb_folder_name + '.nzb'
|
||||
download_path = os.path.join(headphones.BLACKHOLE_DIR, nzb_name)
|
||||
try:
|
||||
f = open(download_path)
|
||||
f = open(download_path, 'w')
|
||||
f.write(data)
|
||||
f.close()
|
||||
except Exception, e:
|
||||
|
||||
Reference in New Issue
Block a user