Gmail.py swap if block

I swapped this if - else block, with the "is not". Code now is clear.
This commit is contained in:
Rodolfo García Peñas (kix) 2020-11-01 08:53:08 +01:00
parent 4198fa8201
commit 0454e3e2f1

View File

@ -71,10 +71,10 @@ class GmailRepository(IMAPRepository):
port = super(GmailRepository, self).getport()
if port is None:
return 993
if port is not None:
return port
return port
return 993
def getssl(self):
ssl = self.getconfboolean('ssl', None)