Index: WAeUP_SRP/trunk/WAeUPTool.py
===================================================================
--- WAeUP_SRP/trunk/WAeUPTool.py	(revision 2163)
+++ WAeUP_SRP/trunk/WAeUPTool.py	(revision 2164)
@@ -1224,5 +1224,5 @@
                 total_imported += 1
             total += 1
-            if total_imported and not total_imported % 100:
+            if total and not total % 100:
                 transaction.commit()
                 if len(not_imported) > 0:
