4
1
Fork 1

Magnet function bugfix

This commit is contained in:
trueold89 2023-11-01 00:08:10 +03:00
parent 347cf84e98
commit 18c670f4c7
Signed by: trueold89
GPG Key ID: C122E85DD49E6B30
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ def magnet(id,link,dir):
if auth_check(id):
dict = db.read(DIR_FILE)
path = dict[dir]
command = f'''qbt torrent add url "{link} -f {path}"'''
command = f'''qbt torrent add url "{link}" -f "{path}"'''
os.system(f"bash -c '{command}'")
return 'Torrent добавлен в очередь'
else: