fixed cronjobs broken in 4278, fixed issue 1190

This commit is contained in:
mdipierro
2012-12-03 13:16:14 -06:00
parent abca14d9ae
commit cabe9603c2
3 changed files with 1 additions and 3 deletions

View File

@@ -1 +1 @@
Version 2.2.1 (2012-12-03 11:00:04) stable
Version 2.2.1 (2012-12-03 13:15:15) stable

View File

@@ -57,7 +57,6 @@ regex_space = re.compile('(\+|\s|%20)+')
regex_url = re.compile('^/((?P<a>\w+)(/(?P<c>\w+)(/(?P<z>(?P<f>\w+)(\.(?P<e>[\w.]+))?(?P<s>[/\w@=-]*(\.[/\w@=-]+)*)))?)?)?$')
def _router_default():
"return new copy of default base router"
router = Storage(

View File

@@ -931,7 +931,6 @@ def console():
if options.cronjob:
global_settings.cronjob = True # tell the world
options.run = False # don't start cron jobs
options.plain = True # cronjobs use a plain shell
options.nobanner = True
options.nogui = True