summaryrefslogtreecommitdiff
path: root/rsa/prime.py
diff options
context:
space:
mode:
Diffstat (limited to 'rsa/prime.py')
-rw-r--r--rsa/prime.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsa/prime.py b/rsa/prime.py
index d8c1f04..3d63542 100644
--- a/rsa/prime.py
+++ b/rsa/prime.py
@@ -195,7 +195,7 @@ if __name__ == '__main__':
if failures:
break
- if count and count % 100 == 0:
+ if count % 100 == 0 and count:
print('%i times' % count)
print('Doctests done')