mirror of
				https://bitbucket.org/jsuto/piler.git
				synced 2025-10-31 18:42:26 +01:00 
			
		
		
		
	imapfetch.py shall quit if nothing in the import table
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
		| @@ -114,6 +114,9 @@ def main(): | ||||
|             row = cursor.fetchone() | ||||
|             if row: | ||||
|                 (server, user, password) = row | ||||
|             else: | ||||
|                 print("Nothing to read from import table") | ||||
|                 sys.exit(0) | ||||
|  | ||||
|         except dbapi.DatabaseError as e: | ||||
|             print("Error %s" % e) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user