Fixed bug in initial API key generation

This commit is contained in:
Krateng 2019-04-11 13:07:08 +02:00
parent 4cfe2de4bd
commit 5c8dddc8a7
2 changed files with 4 additions and 3 deletions

3
maloja
View File

@ -80,10 +80,9 @@ def setup():
key += str(random.choice(list(range(10)) + list("abcdefghijklmnopqrstuvwxyz") + list("ABCDEFGHIJKLMNOPQRSTUVWXYZ")))
print("Your API Key: " + yellow(key))
with open("./clients/authenticated_machines.tsv","w") as keyfile:
keyfile.write(key + "\n" + "Default Generated Key")
keyfile.write(key + "\t" + "Default Generated Key")
elif answer.lower() in ["n","no","nay","0","negative","false"]:
pass
#file is generated my server itself if not found
def install():
toinstall = []

View File

@ -26,6 +26,7 @@ replacetitle WHISTLE Whistle
replacetitle DDU-DU DDU-DU Ddu-Du Ddu-Du
replacetitle PLAYING WITH FIRE Playing with Fire
replaceartist BLΛƆKPIИK BLACKPINK
replaceartist Jennie Kim Jennie
# Dal Shabet
replaceartist Dal Shabet Dal★Shabet
@ -84,8 +85,9 @@ countas AOA Cream AOA
replaceartist Ace of Angels AOA
replacetitle 사뿐사뿐 (Like a Cat) Like a Cat
replacetitle Like A Cat (Japanese Version) Like a Cat (Japanese Version)
replacetitle MOYA (inst) Moya
replacetitle MOYA (inst) Moya (instrumental)
replacetitle MOYA (instrumental) Moya (instrumental)
replacetitle MOYA Moya
# Girl's Day
replaceartist Girl's Day(걸스데이) Girl's Day

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