Don't attempt to double-convert datetime objects
This commit is contained in:
parent
828a85ea32
commit
63e61f7498
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ class Session(Connection):
|
||||||
if row is None:
|
if row is None:
|
||||||
return
|
return
|
||||||
|
|
||||||
return datetime.datetime.fromisoformat(row[0])
|
return row[0]
|
||||||
|
|
||||||
def _cmd_list_active(self):
|
def _cmd_list_active(self):
|
||||||
now = datetime.datetime.now(datetime.UTC)
|
now = datetime.datetime.now(datetime.UTC)
|
||||||
|
|
Loading…
Add table
Reference in a new issue