Aaaaand more bugfixing

This commit is contained in:
krateng 2021-12-22 05:53:41 +01:00
parent 0f5ccd4645
commit 40648b66f3
3 changed files with 5 additions and 3 deletions

View File

@ -5,7 +5,7 @@ author = {
"email":"maloja@dev.krateng.ch",
"github": "krateng"
}
version = 2,13,2
version = 2,13,3
versionstr = ".".join(str(n) for n in version)
links = {
"pypi":"malojaserver",

View File

@ -47,7 +47,7 @@ def start():
sp = subprocess.Popen(["python3","-m","maloja.proccontrol.supervisor"],stdout=subprocess.DEVNULL,stderr=subprocess.DEVNULL)
print(col["green"]("Maloja started!"))
port = malojaconfig["PORT"]
port = globalconf.malojaconfig["PORT"]
print("Visit your server address (Port " + str(port) + ") to see your web interface. Visit /admin_setup to get started.")
print("If you're installing this on your local machine, these links should get you there:")

View File

@ -1,12 +1,14 @@
#!/usr/bin/env python3
import os
from ..globalconf import malojaconfig
import subprocess
import setproctitle
import signal
from doreah.logging import log
from .globalconf import malojaconfig
from .control import getInstance