blacklist = list()
def updateValues():
- global live, ended
+ global live, ended, blacklist
+ blacklist = utils.getBlacklist()
+
with urllib.request.urlopen("https://api.holotools.app/v1/live") as url:
holoapi = json.loads(url.read().decode())
live = holoapi["live"]
running = True
checkedPs = False
psCount = 0
- blacklist = utils.getBlacklist()
while running:
main()
for x in f.read().splitlines():
if(x == "fubuki" or x == "shirakami"):
blacklist.append("フブキ")
+ elif(x == "mel"):
+ blacklist.append("夜空メルチャンネル")
elif (x == "akirose" or x == "aki" or x == "rosenthal"):
blacklist.append("アキロゼ")
else:
return abspath + "amelia.jpg"
elif ("irys" in name):
return abspath + "irys.jpg"
- elif ("tsukumoto" in name):
+ elif ("sana" in name):
return abspath + "sana.jpg"
elif ("fauna" in name):
return abspath + "fauna.jpg"