fixes for translations

This commit is contained in:
Believethehype
2023-11-28 07:32:57 +01:00
parent 508278d10b
commit 18ae0f5b8f
3 changed files with 14 additions and 26 deletions

6
bot.py
View File

@@ -118,15 +118,15 @@ class Bot:
try:
split = i.split(" ")
param = str(split[0])
print(param)
print(str(param))
value = str(split[1])
print(value)
print(str(value))
tag = Tag.parse(["param", param, value])
tags.append(tag.as_vec())
print("Added params: " + tag.as_vec())
except Exception as e:
print(e)
print("Couldn't add " + i)
print("Couldn't add " + str(i))
encrypted_params_string = json.dumps(tags)