IMAP: close server connection when done

This commit is contained in:
steffen123 2010-07-13 18:04:53 +02:00
parent d4e54e6aae
commit 8db0445d71

View File

@ -74,8 +74,8 @@ def run(config, db):
print "completed running Imap import, closing server connection"
#finally:
# try:
# server.close()
server.close()
# finally:
# pass
#server.logout()
server.logout()