Resolve "Add token management" #47
@@ -60,11 +60,11 @@ class MediaFileTableModel(QAbstractTableModel):
|
|||||||
return value.strftime("%Y-%m-%d %M:%M:%S")
|
return value.strftime("%Y-%m-%d %M:%M:%S")
|
||||||
if isinstance(value, str):
|
if isinstance(value, str):
|
||||||
return value
|
return value
|
||||||
# if isinstance(value, bytes):
|
if isinstance(value, bytes):
|
||||||
# if value == b'\x01':
|
if value == b'\x01':
|
||||||
# return self.main_window.tick
|
return self.main_window.tick
|
||||||
# else:
|
else:
|
||||||
# return self.main_window.cross
|
return self.main_window.cross
|
||||||
return value
|
return value
|
||||||
if role == Qt.ItemDataRole.DecorationRole:
|
if role == Qt.ItemDataRole.DecorationRole:
|
||||||
if isinstance(value, bytes):
|
if isinstance(value, bytes):
|
||||||
|
|||||||
Reference in New Issue
Block a user