Compare commits
11 commits
a99e6b52b1
...
ba83ccba88
Author | SHA1 | Date | |
---|---|---|---|
ba83ccba88 | |||
92658ebc86 | |||
cc02b65263 | |||
ddcd956220 | |||
1f88aae0ac | |||
2291d0994b | |||
47a8e24850 | |||
Cayo Puigdefabregas | 46447cebaa | ||
Cayo Puigdefabregas | e4203df44c | ||
fb69206f53 | |||
Cayo Puigdefabregas | 6bf1746829 |
|
@ -14,8 +14,8 @@ from datetime import datetime
|
||||||
## Legacy Functions ##
|
## Legacy Functions ##
|
||||||
def convert_to_legacy_snapshot(snapshot):
|
def convert_to_legacy_snapshot(snapshot):
|
||||||
snapshot["sid"] = str(uuid.uuid4()).split("-")[0]
|
snapshot["sid"] = str(uuid.uuid4()).split("-")[0]
|
||||||
snapshot["software"] = "Workbench"
|
snapshot["software"] = "workbench-script"
|
||||||
snapshot["version"] = "2023.4.0-alpha"
|
snapshot["version"] = "dev"
|
||||||
snapshot["schema_api"] = "1.0.0"
|
snapshot["schema_api"] = "1.0.0"
|
||||||
snapshot["settings_version"] = "No Settings Version (NaN)"
|
snapshot["settings_version"] = "No Settings Version (NaN)"
|
||||||
snapshot["timestamp"] = snapshot["timestamp"].replace(" ", "T")
|
snapshot["timestamp"] = snapshot["timestamp"].replace(" ", "T")
|
||||||
|
|
Loading…
Reference in a new issue