diff --git a/library/ipaapi.py b/library/ipaapi.py
index 81dc447916a8fb445c660f81502e32f030f817f0..23bee0b498df09f5ccd142b418729f4542c4df8b 100644
--- a/library/ipaapi.py
+++ b/library/ipaapi.py
@@ -172,7 +172,7 @@ def main():
         # Add CA certs to a temporary NSS database
         argspec = inspect.getargspec(tmp_db.create_db)
         try:
-            if NUM_VERSION > 40400:
+            if NUM_VERSION > 40404:
                 tmp_db.create_db()
 
                 for i, cert in enumerate(ca_certs):