mirror of
https://github.com/rembo10/headphones.git
synced 2026-01-10 15:28:11 -05:00
Open blackhole nzb file as binary
This commit is contained in:
@@ -809,7 +809,7 @@ def send_to_downloader(data, bestqual, album):
|
||||
try:
|
||||
prev = os.umask(headphones.UMASK)
|
||||
|
||||
with open(download_path, 'w') as fp:
|
||||
with open(download_path, 'wb') as fp:
|
||||
fp.write(data)
|
||||
|
||||
os.umask(prev)
|
||||
|
||||
Reference in New Issue
Block a user