We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3ae5bce + e6c1662 commit a696bcbCopy full SHA for a696bcb
1 file changed
contrib/sync-places.py
@@ -109,6 +109,11 @@ async def do_sync(session, args):
109
changed = True
110
111
tags = config["places"][name].get("tags", {}).copy()
112
+ for k, v in tags.items():
113
+ if not isinstance(k, str) or not isinstance(v, str):
114
+ del(tags[k])
115
+ tags[str(k)] = str(v)
116
+
117
if place_tags != tags:
118
print(
119
"Setting tags for place %s to %s"
0 commit comments