fixing dict creation

This commit is contained in:
rich committed 2020-04-13 19:55:48 -04:00
1 parent f026c88817
commit 238bb9f5ea
1 file changed
+1 -1
+1 -1
View File
@@ -670,7 +670,7 @@ async def spsub_T(ctx, service = "NONE"):
# append new subscription to dict
print(">> Creating new dictionary")
spsublist[currentsub_request[1]] = {'state' : 'online', 'channels' : (f"{currentsub_request[0]}")}
spsublist[currentsub_request[1]] = {'state' : 'online', 'channels' : [currentsub_request[0]]}
print(f">> {service} subscription has been saved")
await ctx.send(f"{service} has been added to monitored services for this channel")