Fixed error handling master
authorNeil Smith <neil.git@njae.me.uk>
Mon, 30 Jan 2017 08:40:11 +0000 (08:40 +0000)
committerNeil Smith <neil.git@njae.me.uk>
Mon, 30 Jan 2017 08:40:11 +0000 (08:40 +0000)
dmarc_to_database

index fb5d458341b55f8204cbadc6f5211a7fb126c416..62d6a077995ba90482d13969a4aa0c08844d8e00 100755 (executable)
@@ -170,7 +170,7 @@ def write_report(connection, cursor, report):
             # print(insert_string, values)
             cursor.execute(insert_string, values)
         connection.commit()
-      except AttributeError:
+    except AttributeError:
         pass
 
 config = configparser.ConfigParser()