Fixed bugs with plex library

This commit is contained in:
Faiz Ahmed
2021-07-26 14:22:23 -04:00
parent 86e8d29117
commit 7e46a281b4
3 changed files with 5 additions and 5 deletions

View File

@@ -52,7 +52,7 @@ if roles is not None:
if Plex_LIBS is None:
Plex_LIBS = ["all"]
else:
Plex_LIBS = list(Plex_LIBS.split(', '))
Plex_LIBS = list(Plex_LIBS.split(','))
class app(commands.Cog):

View File

@@ -34,7 +34,7 @@ try:
Discord_bot_token = str(os.environ['token'])
switch = 1
except Exception as e:
print("ERROR. No config found.")
pass
if(path.exists('app/config/config.ini')):
try: