summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChenxiong Qi <qcxhome@gmail.com>2013-08-03 11:02:49 +0800
committerChenxiong Qi <qcxhome@gmail.com>2013-08-03 11:02:49 +0800
commit5474873e3bff6b4318362e389831372483f01903 (patch)
treedb0a9701e0c4e12ec1ff603bb74ddf20df7e0fe8
parent36a29baec5345c6e36de661a9715b6406eafccea (diff)
downloadaskbot-5474873e3bff6b4318362e389831372483f01903.tar.gz
askbot-5474873e3bff6b4318362e389831372483f01903.tar.bz2
askbot-5474873e3bff6b4318362e389831372483f01903.zip
get force option correctly
-rw-r--r--askbot/deployment/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/deployment/__init__.py b/askbot/deployment/__init__.py
index 5477b284..0dbe58c6 100644
--- a/askbot/deployment/__init__.py
+++ b/askbot/deployment/__init__.py
@@ -152,7 +152,7 @@ def deploy_askbot(options):
create_new_project = False
if os.path.exists(options['dir_name']):
if path_utils.has_existing_django_project(options['dir_name']):
- create_new_project = bool(options.force)
+ create_new_project = bool(options['force'])
else:
create_new_project = True
else: