From: Oleg Broytman Date: Sat, 6 Feb 2016 14:23:46 +0000 (+0300) Subject: Fix a minor bug X-Git-Tag: 0.0.4~57 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=e3450ec21d14e97154a95f0376db901cf1e28305;p=m_librarian.git Fix a minor bug --- 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)