Removed some log output

This commit is contained in:
Krateng 2020-01-10 22:51:50 +01:00
parent fbce600c4e
commit c518627670
4 changed files with 2 additions and 3 deletions

View File

@ -7,7 +7,7 @@ author = {
"email":"maloja@krateng.dev",
"github": "krateng"
}
version = 2,2,1
version = 2,2,2
versionstr = ".".join(str(n) for n in version)

View File

@ -166,6 +166,7 @@ def backuphere():
def update():
os.system("pip3 install malojaserver --upgrade --no-cache-dir")
restart()
def fixdb():
from .fixexisting import fix

View File

@ -88,7 +88,6 @@ def mainpage():
@webserver.error(505)
def customerror(error):
code = int(str(error).split(",")[0][1:])
log("HTTP Error: " + str(code),module="error")
if os.path.exists(pthjoin(WEBFOLDER,"errors",str(code) + ".pyhp")):
return pyhpfile(pthjoin(WEBFOLDER,"errors",str(code) + ".pyhp"),{"errorcode":code})

View File

@ -18,7 +18,6 @@ while True:
try:
output = subprocess.check_output(["pidof","Maloja"])
pid = int(output)
log("Maloja is running, PID " + str(pid),module="supervisor")
except:
log("Maloja is not running, restarting...",module="supervisor")
if get_settings("UPDATE_AFTER_CRASH"):