Remove some debug statements

master
Mark Veidemanis 2 years ago
parent ae25e1980e
commit 822c474867
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -213,14 +213,12 @@ def hash_lookup(user, data_dict):
if data_dict[key]:
if isinstance(data_dict[key], str):
if hash in data_dict[key]:
print("Replacing", data_dict[key], "with", total[hash])
data_dict[key] = data_dict[key].replace(
f"{hash}", total[hash]
)
elif isinstance(data_dict[key], dict):
for k2, v2 in data_dict[key].items():
if hash in v2:
print("Replacing", v2, "with", total[hash])
data_dict[key][k2] = v2.replace(f"{hash}", total[hash])

Loading…
Cancel
Save