mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
@@ -92,7 +92,7 @@ def register_api(app: FastAPI): # register api
|
||||
'width': width,
|
||||
'height': height,
|
||||
'size': stat_size,
|
||||
'mtime': stat_mtime,
|
||||
'mtime': stat_mtime.timestamp(),
|
||||
}
|
||||
return content
|
||||
except Exception as e:
|
||||
@@ -119,7 +119,7 @@ def register_api(app: FastAPI): # register api
|
||||
'width': width,
|
||||
'height': height,
|
||||
'size': stat_size,
|
||||
'mtime': stat_mtime,
|
||||
'mtime': stat_mtime.timestamp(),
|
||||
}
|
||||
return content
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user