Fixed error handling
[dmarc.git] / 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()