fixed create missing folders, thanks Paolo

This commit is contained in:
mdipierro
2019-05-05 23:15:09 -07:00
parent fc256343a7
commit ee3b63b792
2 changed files with 16 additions and 13 deletions
+1 -2
View File
@@ -23,7 +23,7 @@ import logging
import getpass
from gluon import main, newcron
from gluon.fileutils import read_file, create_welcome_w2p, create_missing_folders
from gluon.fileutils import read_file, create_welcome_w2p
from gluon.console import console
from gluon.settings import global_settings
from gluon.shell import die, run, test
@@ -368,7 +368,6 @@ class web2pyDialog(object):
def try_start_scheduler(self, app):
if app not in self.scheduler_processes:
create_missing_folders(os.path.join(self.options.folder, 'applications', app))
t = threading.Thread(target=self.start_schedulers, args=(app,))
t.start()