]> git.phdru.name Git - m_librarian.git/blobdiff - m_librarian/inp.py
Fix a minor bug
[m_librarian.git] / m_librarian / inp.py
index e99800a18e13d4ec3fc6ffcefa6915e5699b9642..d4e6cc1ff730f09f3dc403bdb213e928da4dbd54 100644 (file)
@@ -63,7 +63,7 @@ def import_inpx(path):
     inpx = ZipFile(path)
     for name in inpx.namelist():
         archive, ext = os.path.splitext(name)
-        if ext != 'inp':
+        if ext != '.inp':
             continue
         inp = inpx.open(name)
         sqlhub.doInTransaction(import_inp, archive + '.zip', inp)