mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Small fixes
This commit is contained in:
parent
83f1956256
commit
9b23c3bd57
@ -6,8 +6,11 @@ try:
|
||||
import toml
|
||||
with open("./pyproject.toml") as filed:
|
||||
metadata = toml.load(filed)['project']
|
||||
VERSION = metadata['version']
|
||||
VERSION = metadata['version'] + "-dev"
|
||||
HOMEPAGE = metadata['urls']['homepage']
|
||||
# this will give wrong info when the installed package is run, but we just
|
||||
# happen to be in the directory of the project
|
||||
# but this can't be helped I think
|
||||
except:
|
||||
|
||||
# package distributrion
|
||||
|
@ -44,9 +44,9 @@ def start():
|
||||
if getInstanceSupervisor() is not None:
|
||||
print("Maloja is already running.")
|
||||
else:
|
||||
print_header_info()
|
||||
setup()
|
||||
try:
|
||||
print_header_info()
|
||||
#p = subprocess.Popen(["python3","-m","maloja.server"],stdout=subprocess.DEVNULL,stderr=subprocess.DEVNULL)
|
||||
sp = subprocess.Popen(["python3","-m","maloja.proccontrol.supervisor"],stdout=subprocess.DEVNULL,stderr=subprocess.DEVNULL)
|
||||
print(col["green"]("Maloja started!"))
|
||||
|
@ -77,10 +77,10 @@
|
||||
|
||||
<h2>Download Data</h2>
|
||||
|
||||
Download your data to store local backups.<br/><br/>
|
||||
Download your data to have a backup.<br/><br/>
|
||||
|
||||
<a href="/apis/mlj_1/backup" download="maloja_backup.tar.gz">
|
||||
<button type="button">Download Backup</button>
|
||||
<button type="button">Download</button>
|
||||
</a>
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user