Browse Source

do not require auth when calling logout

pull/7307/head
AnilDaoud 5 years ago
parent
commit
e9ffef869c
  1. 2
      libs/qbittorrent/client.py

2
libs/qbittorrent/client.py

@ -67,7 +67,7 @@ class QBittorrentClient(object):
"""
final_url = self.url + endpoint
if not self._is_authenticated:
if not self._is_authenticated and 'logout' not in endpoint:
raise LoginRequired
rq = self.session

Loading…
Cancel
Save