Commit 6d7aec09 authored by Chris McDonough's avatar Chris McDonough

Dont try to set attributes on cfg in setConfiguration if we're trying to clear...

Dont try to set attributes on cfg in setConfiguration if we're trying to clear the configuration by passing it None.
parent ed3787f0
......@@ -41,6 +41,9 @@ def setConfiguration(cfg):
global _config
_config = cfg
if cfg is None:
return
from App import FindHomes
import __builtin__
__builtin__.CLIENT_HOME = FindHomes.CLIENT_HOME = cfg.clienthome
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment