Skip to content

Commit

Permalink
Open blackhole nzb file as binary
Browse files Browse the repository at this point in the history
  • Loading branch information
rembo10 committed Feb 14, 2022
1 parent 586b9ed commit eaf2db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion headphones/searcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit eaf2db6

Please sign in to comment.