mirror of
https://codeberg.org/hyperreal/daily-event-logger
synced 2024-11-25 11:53:42 +01:00
Remove elog_sort from elog_edit and elog_remove
This commit is contained in:
parent
40b6fcb683
commit
2b085c3449
@ -176,7 +176,6 @@ def elog_edit(args):
|
|||||||
ef.seek(0)
|
ef.seek(0)
|
||||||
json.dump(json_data, ef, indent=4)
|
json.dump(json_data, ef, indent=4)
|
||||||
|
|
||||||
elog_sort(elog_file)
|
|
||||||
validate_json(elog_file)
|
validate_json(elog_file)
|
||||||
|
|
||||||
|
|
||||||
@ -191,7 +190,6 @@ def elog_remove(args):
|
|||||||
with open(elog_file, "w") as ef:
|
with open(elog_file, "w") as ef:
|
||||||
json.dump(json_data, ef, indent=4)
|
json.dump(json_data, ef, indent=4)
|
||||||
|
|
||||||
elog_sort(elog_file)
|
|
||||||
validate_json(elog_file)
|
validate_json(elog_file)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user