* Bugfix for case, when only_thumbs=True, remove images! Bug discovered

in suspiciously big katalog file.
This commit is contained in:
gryf committed 2008-07-03 11:55:14 +00:00
1 parent 9bf8eb506f
commit c1f4c0534c
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
pyGTKtalog 1.0 RC2
pyGTKtalog 1.0 RC3
==================
pyGTKtalog is Linux/FreeBSD program for indexing CD/DVD or directories on
+1
View File
@@ -338,6 +338,7 @@ class MainModel(ModelMT):
sql = """UPDATE images SET filename=?,
thumbnail=? WHERE id=?"""
if only_thumbs:
os.unlink(imp)
img = None
else:
img = imp.split(self.internal_dirname)[1][1:]