mirror of
https://github.com/gryf/pygtktalog.git
synced 2025-12-17 19:40:21 +01:00
* Bugfix for case, when only_thumbs=True, remove images! Bug discovered
in suspiciously big katalog file.
This commit is contained in:
2
README
2
README
@@ -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