fixing dict creation
This commit is contained in:
1 parent
f026c88817
commit
238bb9f5ea
1 file changed
+1
-1
+1
-1
@@ -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")
|
||||
|
||||
|
||||
Reference in new issue
Block a user