X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=m_librarian%2Fglst.py;h=cd2b8c90f33a7235c86d7dc9e12887253f07e95f;hb=711b094b0eb5a6804fceffe72c4d8c700d789cf2;hp=257d321fdaf9b71b4938a600ce50073f5b6a9a15;hpb=50a18dcde6c5664cbbcc2b3b5585a4ec52964650;p=m_librarian.git diff --git a/m_librarian/glst.py b/m_librarian/glst.py index 257d321..cd2b8c9 100755 --- a/m_librarian/glst.py +++ b/m_librarian/glst.py @@ -46,6 +46,7 @@ def _import_data(): os.path.join(ml_dir, 'data', 'genres_fb2.glst')) old_nonfb2, new_nonfb2 = import_glst_file( os.path.join(ml_dir, 'data', 'genres_nonfb2.glst')) + sqlhub.processConnection.query("VACUUM %s" % Genre.sqlmeta.table) return old_fb2 + old_nonfb2, new_fb2 + new_nonfb2