Skip to content

Commit eaf2db6

Browse files
committed
Open blackhole nzb file as binary
1 parent 586b9ed commit eaf2db6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

headphones/searcher.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ def send_to_downloader(data, bestqual, album):
809809
try:
810810
prev = os.umask(headphones.UMASK)
811811

812-
with open(download_path, 'w') as fp:
812+
with open(download_path, 'wb') as fp:
813813
fp.write(data)
814814

815815
os.umask(prev)

0 commit comments

Comments
 (0)