Skip to content

Commit

Permalink
Small setup fix
Browse files Browse the repository at this point in the history
  • Loading branch information
krateng committed Apr 9, 2022
1 parent fe727de commit 233e49d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion maloja/__pkginfo__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"


Expand Down
8 changes: 4 additions & 4 deletions maloja/proccontrol/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 233e49d

Please sign in to comment.