1
0
mirror of https://github.com/gryf/pygtktalog.git synced 2025-12-17 19:40:21 +01:00

* Cosmetic changes with displaying file details.

This commit is contained in:
2008-05-08 16:19:20 +00:00
parent 1eaad783f9
commit be69067396
3 changed files with 21 additions and 15 deletions

View File

@@ -817,7 +817,7 @@ class MainModel(ModelMT):
self.db_cursor.execute(sql, (file_id,))
res = self.db_cursor.fetchone()
if res:
retval['debug'] = {'id': file_id,
retval['fileinfo'] = {'id': file_id,
'date': datetime.fromtimestamp(res[1]),
'size': res[2], 'type': res[3]}