From e3450ec21d14e97154a95f0376db901cf1e28305 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 6 Feb 2016 17:23:46 +0300 Subject: [PATCH] Fix a minor bug --- m_librarian/inp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m_librarian/inp.py b/m_librarian/inp.py index e99800a..d4e6cc1 100644 --- a/m_librarian/inp.py +++ b/m_librarian/inp.py @@ -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) -- 2.39.5