Fix standalone setup script execution.

pull/11/head
Dave Page 2018-11-05 13:39:43 +00:00
parent 220fdf583e
commit 29ed7ec881
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ NODE_BLACKLIST = []
# from it, notably various paths such as LOG_FILE and anything
# using DATA_DIR.
if builtins.SERVER_MODE is None:
if (not hasattr(builtins, 'SERVER_MODE')) or builtins.SERVER_MODE is None:
SERVER_MODE = True
else:
SERVER_MODE = builtins.SERVER_MODE