Remove some debug statements
This commit is contained in:
parent
ae25e1980e
commit
822c474867
|
@ -213,14 +213,12 @@ def hash_lookup(user, data_dict):
|
||||||
if data_dict[key]:
|
if data_dict[key]:
|
||||||
if isinstance(data_dict[key], str):
|
if isinstance(data_dict[key], str):
|
||||||
if hash in data_dict[key]:
|
if hash in data_dict[key]:
|
||||||
print("Replacing", data_dict[key], "with", total[hash])
|
|
||||||
data_dict[key] = data_dict[key].replace(
|
data_dict[key] = data_dict[key].replace(
|
||||||
f"{hash}", total[hash]
|
f"{hash}", total[hash]
|
||||||
)
|
)
|
||||||
elif isinstance(data_dict[key], dict):
|
elif isinstance(data_dict[key], dict):
|
||||||
for k2, v2 in data_dict[key].items():
|
for k2, v2 in data_dict[key].items():
|
||||||
if hash in v2:
|
if hash in v2:
|
||||||
print("Replacing", v2, "with", total[hash])
|
|
||||||
data_dict[key][k2] = v2.replace(f"{hash}", total[hash])
|
data_dict[key][k2] = v2.replace(f"{hash}", total[hash])
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue