mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-31 10:09:28 +01:00
Always Authenticate When Adding Torrents
- Avoid expired session cookies, just authenticate always
This commit is contained in:
@@ -72,6 +72,10 @@ def _scrubber(text):
|
||||
|
||||
def addTorrent(link, data=None):
|
||||
try:
|
||||
# Authenticate anyway
|
||||
logger.debug('Deluge: addTorrent Authentication')
|
||||
_get_auth()
|
||||
|
||||
result = {}
|
||||
retid = False
|
||||
special_treatment_sites = ['https://what.cd/', 'http://what.cd/']
|
||||
|
||||
Reference in New Issue
Block a user