From 238bb9f5ea387686bb952414809c86df28a3be36 Mon Sep 17 00:00:00 2001 From: Rich Oberholtzer Date: Mon, 13 Apr 2020 19:55:48 -0400 Subject: [PATCH] fixing dict creation --- r0b3bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r0b3bot.py b/r0b3bot.py index 93583c1..75ea40b 100644 --- a/r0b3bot.py +++ b/r0b3bot.py @@ -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")