mirror of
https://github.com/gryf/pygtktalog.git
synced 2026-10-07 06:00:35 +02:00
* Bugfix for case, when only_thumbs=True, remove images! Bug discovered
in suspiciously big katalog file.
This commit is contained in:
1 parent
9bf8eb506f
commit
c1f4c0534c
2 files changed
+2
-1
No files matched your search
@@ -1,4 +1,4 @@
|
||||
pyGTKtalog 1.0 RC2
|
||||
pyGTKtalog 1.0 RC3
|
||||
==================
|
||||
|
||||
pyGTKtalog is Linux/FreeBSD program for indexing CD/DVD or directories on
|
||||
|
||||
@@ -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:]
|
||||
|
||||
Reference in new issue
Block a user