style: Format code for improved readability and consistency
This commit is contained in:
parent
0e1779cca0
commit
b60b8c7416
|
@ -1,7 +1,6 @@
|
||||||
import datetime
|
|
||||||
import json
|
|
||||||
import logging
|
import logging
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
import bottle
|
import bottle
|
||||||
|
|
||||||
from personal_data import csv_import
|
from personal_data import csv_import
|
||||||
|
@ -41,7 +40,10 @@ def newest_entry(csv_type: str):
|
||||||
else:
|
else:
|
||||||
newest = data[-1]
|
newest = data[-1]
|
||||||
|
|
||||||
return {csv_import.csv_safe_value(k):csv_import.csv_safe_value(v) for k,v in newest.items()}
|
return {
|
||||||
|
csv_import.csv_safe_value(k): csv_import.csv_safe_value(v)
|
||||||
|
for k, v in newest.items()
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in New Issue
Block a user