From 233e49d08786aa5417785b71cacf0587de9512c9 Mon Sep 17 00:00:00 2001 From: krateng Date: Sat, 9 Apr 2022 17:05:54 +0200 Subject: [PATCH] Small setup fix --- maloja/__pkginfo__.py | 2 +- maloja/proccontrol/setup.py | 8 ++++---- pyproject.toml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/maloja/__pkginfo__.py b/maloja/__pkginfo__.py index b298c1d..b8da361 100644 --- a/maloja/__pkginfo__.py +++ b/maloja/__pkginfo__.py @@ -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" diff --git a/maloja/proccontrol/setup.py b/maloja/proccontrol/setup.py index 4757199..8872357 100644 --- a/maloja/proccontrol/setup.py +++ b/maloja/proccontrol/setup.py @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 15a1dfa..c3d1c74 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"