scraper fix attempt
This commit is contained in:
@@ -18,7 +18,7 @@ scr = None
|
|||||||
def setup():
|
def setup():
|
||||||
# sanity check: make sure config is set
|
# sanity check: make sure config is set
|
||||||
# required to make `flask --app lewy run --debug` work
|
# required to make `flask --app lewy run --debug` work
|
||||||
global config, app_host, app_port, scrape
|
global config, app_host, app_port, scr
|
||||||
try:
|
try:
|
||||||
if not config['general']:
|
if not config['general']:
|
||||||
lewy_globals.setConfig(lewy_globals.configfile)
|
lewy_globals.setConfig(lewy_globals.configfile)
|
||||||
|
|||||||
Reference in New Issue
Block a user