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:
@@ -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]}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user