Fixed bugs with plex library
This commit is contained in:
@@ -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):
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user