fix skip_login check being reversed

This commit is contained in:
Rossen Georgiev 2016-08-16 22:22:24 +01:00
parent 9ca16d077d
commit 566446bfd7
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class IS(object):
while True:
try:
self._connect()
if self.skip_login:
if not self.skip_login:
self._send_login()
break
except (LoginError, ConnectionError):