Private GIT

Skip to content
Snippets Groups Projects
Commit a6c758b3 authored by miigotu's avatar miigotu
Browse files

Merge pull request #448 from SickRage/danishbits-fix

Fix "TypeError: argument of type 'NoneType' is not iterable" on Danis…
parents bee0c587 b4ab64a1
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ class DanishbitsProvider(TorrentProvider): # pylint: disable=too-many-instance-
@staticmethod
def loginSuccess(output):
if "<title>Login :: Danishbits.org</title>" in output:
if not output or "<title>Login :: Danishbits.org</title>" in output:
return False
else:
return True
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment