Updated version with migration built-in

This commit is contained in:
frikky
2021-06-22 13:38:54 +02:00
parent d2b50cfa14
commit 336928c8a3
12 changed files with 268 additions and 120 deletions
+3 -2
View File
@@ -514,7 +514,7 @@ class AppBase:
# return
print("[INFO] Multiplier length: %d" % len(param_multiplier))
tmp = ""
#tmp = ""
for subparams in param_multiplier:
print(f"SUBPARAMS IN MULTI: {subparams}")
try:
@@ -2307,12 +2307,13 @@ class AppBase:
#newres = await func(**params)
#print("PARAMS: %s" % params)
newres = ""
#newres = ""
while True:
try:
newres = await func(**params)
break
except TypeError as e:
newres = ""
errorstring = "%s" % e
if "got an unexpected keyword argument" in errorstring:
fieldsplit = errorstring.split("'")