plugin - Fixes log entry

This commit is contained in:
Sergi Delgado Segura
2020-05-05 17:07:02 +02:00
parent f5c634ed14
commit 1fae487071

View File

@@ -45,7 +45,7 @@ class TowersDBM(DBManager):
except (json.JSONDecodeError, TypeError):
self.plugin.log(
f"Could't add tower to db. Wrong tower data format (tower_id={tower_id}, tower_data={tower_data})"
f"Could't add tower to db. Wrong tower data format (tower_id={tower_id}, tower_data={tower_data.to_dict()})"
)
return False