mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Fixed bug in initial API key generation
This commit is contained in:
parent
4cfe2de4bd
commit
5c8dddc8a7
3
maloja
3
maloja
@ -80,10 +80,9 @@ def setup():
|
|||||||
key += str(random.choice(list(range(10)) + list("abcdefghijklmnopqrstuvwxyz") + list("ABCDEFGHIJKLMNOPQRSTUVWXYZ")))
|
key += str(random.choice(list(range(10)) + list("abcdefghijklmnopqrstuvwxyz") + list("ABCDEFGHIJKLMNOPQRSTUVWXYZ")))
|
||||||
print("Your API Key: " + yellow(key))
|
print("Your API Key: " + yellow(key))
|
||||||
with open("./clients/authenticated_machines.tsv","w") as keyfile:
|
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"]:
|
elif answer.lower() in ["n","no","nay","0","negative","false"]:
|
||||||
pass
|
pass
|
||||||
#file is generated my server itself if not found
|
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
toinstall = []
|
toinstall = []
|
||||||
|
@ -26,6 +26,7 @@ replacetitle WHISTLE Whistle
|
|||||||
replacetitle DDU-DU DDU-DU Ddu-Du Ddu-Du
|
replacetitle DDU-DU DDU-DU Ddu-Du Ddu-Du
|
||||||
replacetitle PLAYING WITH FIRE Playing with Fire
|
replacetitle PLAYING WITH FIRE Playing with Fire
|
||||||
replaceartist BLΛƆKPIИK BLACKPINK
|
replaceartist BLΛƆKPIИK BLACKPINK
|
||||||
|
replaceartist Jennie Kim Jennie
|
||||||
|
|
||||||
# Dal Shabet
|
# Dal Shabet
|
||||||
replaceartist Dal Shabet Dal★Shabet
|
replaceartist Dal Shabet Dal★Shabet
|
||||||
@ -84,8 +85,9 @@ countas AOA Cream AOA
|
|||||||
replaceartist Ace of Angels AOA
|
replaceartist Ace of Angels AOA
|
||||||
replacetitle 사뿐사뿐 (Like a Cat) Like a Cat
|
replacetitle 사뿐사뿐 (Like a Cat) Like a Cat
|
||||||
replacetitle Like A Cat (Japanese Version) Like a Cat (Japanese Version)
|
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 (instrumental) Moya (instrumental)
|
||||||
|
replacetitle MOYA Moya
|
||||||
|
|
||||||
# Girl's Day
|
# Girl's Day
|
||||||
replaceartist Girl's Day(걸스데이) 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.
|
Loading…
Reference in New Issue
Block a user