mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-26 14:49:26 +00:00
Fix for magnet links not being opened on windows
This commit is contained in:
@@ -619,7 +619,7 @@ def send_to_downloader(data, bestqual, album):
|
||||
if headphones.OPEN_MAGNET_LINKS:
|
||||
try:
|
||||
if headphones.SYS_PLATFORM == 'win32':
|
||||
os.startfile(besqual[2])
|
||||
os.startfile(bestqual[2])
|
||||
elif headphones.SYS_PLATFORM == 'darwin':
|
||||
subprocess.Popen(["open", bestqual[2]], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user