|
|
@@ -173,7 +173,9 @@ def get_site_config(sites_path=None, site_path=None): |
|
|
|
if os.path.exists(site_config): |
|
|
|
config.update(get_file_json(site_config)) |
|
|
|
elif local.site and not local.flags.new_site: |
|
|
|
raise IncorrectSitePath, "{0} does not exist".format(site_config) |
|
|
|
print "{0} does not exist".format(local.site) |
|
|
|
sys.exit(1) |
|
|
|
#raise IncorrectSitePath, "{0} does not exist".format(site_config) |
|
|
|
|
|
|
|
return _dict(config) |
|
|
|
|
|
|
|