1
0
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:
krateng 2022-04-09 17:05:54 +02:00
parent fe727dedee
commit 233e49d087
3 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,7 @@
# you know what f*ck it
# this is hardcoded for now because of that damn project / package name discrepancy
# i'll fix it one day
VERSION = "3.0.0-beta.3"
VERSION = "3.0.0-beta.4"
HOMEPAGE = "https://github.com/krateng/maloja"

View File

@ -38,13 +38,13 @@ def setup():
keyname = malojaconfig.get_setting_info(k)['name']
key = malojaconfig[k]
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":
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.")
key = prompt("",types=(str,),default=False,skip=SKIP)
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(promptmsg,types=(str,),default=False,skip=SKIP)
malojaconfig[k] = key
else:
print("\t" + col['lawngreen'](keyname) + " found.")
print(f"\t{col['lawngreen'](keyname)} found.")
# OWN API KEY

View File

@ -1,6 +1,6 @@
[project]
name = "malojaserver"
version = "3.0.0-beta.3"
version = "3.0.0-beta.4"
description = "Self-hosted music scrobble database"
readme = "./README.md"
requires-python = ">=3.6"