sheetsync: Fix missing arg

Just hard-code that the tags sheet is always called "Tags" for now, we can fix later
if it ever needs to change.
pull/401/head
Mike Lang 3 months ago
parent c6058cbdd0
commit 20ee382b7f

@ -453,7 +453,7 @@ def main(dbconnect, sync_configs, metrics_port=8005, backdoor_port=0):
if config["type"] == "events": if config["type"] == "events":
middleware = StreamLogEventsMiddleware(client) middleware = StreamLogEventsMiddleware(client)
elif config["type"] == "playlists": elif config["type"] == "playlists":
middleware = StreamLogPlaylistsMiddleware(client) middleware = StreamLogPlaylistsMiddleware(client, "Tags")
elif config["type"] == "archive": elif config["type"] == "archive":
raise ValueError("Archive sync is not compatible with streamlog") raise ValueError("Archive sync is not compatible with streamlog")
else: else:

Loading…
Cancel
Save