Fixed error when missing Spotify key, fixes GH-26

This commit is contained in:
Krateng 2020-08-04 18:49:40 +02:00
parent 02e41ccbe0
commit 0fdd7669cc
3 changed files with 5 additions and 2 deletions

View File

@ -5,7 +5,7 @@ author = {
"email":"maloja@krateng.dev", "email":"maloja@krateng.dev",
"github": "krateng" "github": "krateng"
} }
version = 2,6,4 version = 2,6,5
versionstr = ".".join(str(n) for n in version) versionstr = ".".join(str(n) for n in version)
links = { links = {
"pypi":"malojaserver", "pypi":"malojaserver",

View File

@ -60,6 +60,7 @@ replacetitle 찔려 Sting Sting
# Red Velvet # Red Velvet
countas Seulgi Red Velvet countas Seulgi Red Velvet
countas Joy Red Velvet countas Joy Red Velvet
countas Irene Red Velvet
replacetitle 러시안 룰렛 Russian Roulette Russian Roulette replacetitle 러시안 룰렛 Russian Roulette Russian Roulette
replacetitle 피카부 Peek-a-Boo Peek-A-Boo replacetitle 피카부 Peek-a-Boo Peek-A-Boo
replacetitle 빨간 맛 Red Flavor Red Flavor replacetitle 빨간 맛 Red Flavor Red Flavor
@ -68,6 +69,7 @@ replacetitle 봐 Look Look
replacetitle RBB (Really Bad Boy) Really Bad Boy replacetitle RBB (Really Bad Boy) Really Bad Boy
replacetitle 7월 7일 One Of These Nights One Of These Nights replacetitle 7월 7일 One Of These Nights One Of These Nights
replacetitle Don't You Wait No More Don't U Wait No More replacetitle Don't You Wait No More Don't U Wait No More
replaceartist Red Velvet - Irene & Seulgi Irene␟Seulgi
# EXID # EXID
countas Dasoni EXID countas Dasoni EXID

Can't render this file because it has a wrong number of fields in line 5.

View File

@ -64,7 +64,8 @@ class GenericInterface:
# avoid constant disk access, restart on adding services is acceptable # avoid constant disk access, restart on adding services is acceptable
for key in self.settings: for key in self.settings:
self.settings[key] = get_settings(self.settings[key]) self.settings[key] = get_settings(self.settings[key])
self.authorize() try: self.authorize()
except: pass
def __init_subclass__(cls,abstract=False): def __init_subclass__(cls,abstract=False):
if not abstract: if not abstract: