mirror of
https://github.com/MikroWizard/mikroman.git
synced 2025-07-30 23:55:02 +02:00
Fix Wrong Imports and typo
This commit is contained in:
parent
58b0ce0c1c
commit
a26bd6ae55
4 changed files with 9 additions and 8 deletions
|
@ -80,14 +80,13 @@ def extract_zip_reload(filename,dst):
|
|||
p_status = p.wait()
|
||||
#install requirments
|
||||
try:
|
||||
from libs import utilpro
|
||||
ISPRO=True
|
||||
proreqs="/app/py/pro-reqs.txt"
|
||||
with open(proreqs, "r") as f:
|
||||
for line in f:
|
||||
import_or_install(line.strip())
|
||||
log.info("Installed {}".format(line.strip()))
|
||||
time.sleep(1)
|
||||
time.sleep(3)
|
||||
except ImportError:
|
||||
pass
|
||||
reqs="/app/reqs.txt"
|
||||
|
@ -101,8 +100,6 @@ def extract_zip_reload(filename,dst):
|
|||
#touch server reload file /app/reload
|
||||
Path('/app/reload').touch()
|
||||
|
||||
|
||||
|
||||
def main():
|
||||
while True:
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue