smaller headers

This commit is contained in:
Andrey
2021-01-25 21:35:06 +03:00
parent 1548e8c364
commit c0b1247b9e
4 changed files with 34 additions and 17 deletions

View File

@@ -0,0 +1,10 @@
def make_ints(d: dict):
for x in d:
try:
d[x] = float(d[x])
except ValueError:
pass
if 'm' not in d:
d['m'] = 0
if 'click' not in d:
d['click'] = 0