mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Small setup fix
This commit is contained in:
parent
fe727dedee
commit
233e49d087
|
@ -4,7 +4,7 @@
|
||||||
# you know what f*ck it
|
# you know what f*ck it
|
||||||
# this is hardcoded for now because of that damn project / package name discrepancy
|
# this is hardcoded for now because of that damn project / package name discrepancy
|
||||||
# i'll fix it one day
|
# i'll fix it one day
|
||||||
VERSION = "3.0.0-beta.3"
|
VERSION = "3.0.0-beta.4"
|
||||||
HOMEPAGE = "https://github.com/krateng/maloja"
|
HOMEPAGE = "https://github.com/krateng/maloja"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -38,13 +38,13 @@ def setup():
|
||||||
keyname = malojaconfig.get_setting_info(k)['name']
|
keyname = malojaconfig.get_setting_info(k)['name']
|
||||||
key = malojaconfig[k]
|
key = malojaconfig[k]
|
||||||
if key is False:
|
if key is False:
|
||||||
print("\t" + "Currently not using a " + col['red'](keyname) + " for image display.")
|
print(f"\tCurrently not using a {col['red'](keyname)} for image display.")
|
||||||
elif key is None or key == "ASK":
|
elif key is None or key == "ASK":
|
||||||
print("\t" + "Please enter your " + col['gold'](keyname) + ". If you do not want to use one at this moment, simply leave this empty and press Enter.")
|
promptmsg = f"\tPlease enter your {col['gold'](keyname)}. If you do not want to use one at this moment, simply leave this empty and press Enter."
|
||||||
key = prompt("",types=(str,),default=False,skip=SKIP)
|
key = prompt(promptmsg,types=(str,),default=False,skip=SKIP)
|
||||||
malojaconfig[k] = key
|
malojaconfig[k] = key
|
||||||
else:
|
else:
|
||||||
print("\t" + col['lawngreen'](keyname) + " found.")
|
print(f"\t{col['lawngreen'](keyname)} found.")
|
||||||
|
|
||||||
|
|
||||||
# OWN API KEY
|
# OWN API KEY
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[project]
|
[project]
|
||||||
name = "malojaserver"
|
name = "malojaserver"
|
||||||
version = "3.0.0-beta.3"
|
version = "3.0.0-beta.4"
|
||||||
description = "Self-hosted music scrobble database"
|
description = "Self-hosted music scrobble database"
|
||||||
readme = "./README.md"
|
readme = "./README.md"
|
||||||
requires-python = ">=3.6"
|
requires-python = ">=3.6"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user