changed string formatting according to development guidelines

This commit is contained in:
tomaae 2020-03-16 19:02:54 +01:00
parent 7af3ef0bb3
commit 8ec4f9ade5
7 changed files with 31 additions and 39 deletions

View file

@ -267,14 +267,14 @@ def fill_vals_proc(data, uid, vals_proc) -> dict:
if not _value:
_value = tmp
else:
_value = "{}{}".format(_value, tmp)
_value = f"{_value}{tmp}"
if "text" in val:
tmp = val["text"]
if not _value:
_value = tmp
else:
_value = "{}{}".format(_value, tmp)
_value = f"{_value}{tmp}"
if _name and _value:
if uid: