summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEsteban (Eka) Feldman <esteban.feldman@gmail.com>2012-02-16 12:22:41 -0300
committerEsteban (Eka) Feldman <esteban.feldman@gmail.com>2012-02-16 12:22:41 -0300
commitc65639d55f7b897b21af98c522a647917327f6ba (patch)
treea9215c4742fd17fb70f9d27b63683d4c89af2873
parent436d610ff44a66443aa9417ada7de1fd386e0f6c (diff)
downloadbot-c65639d55f7b897b21af98c522a647917327f6ba.tar.gz
bot-c65639d55f7b897b21af98c522a647917327f6ba.tar.bz2
bot-c65639d55f7b897b21af98c522a647917327f6ba.zip
when config file is passed by arg avoid creating config dir
-rwxr-xr-xphenny3
1 files changed, 2 insertions, 1 deletions
diff --git a/phenny b/phenny
index 6cb0961..fc2bbf4 100755
--- a/phenny
+++ b/phenny
@@ -118,7 +118,8 @@ def main(argv=None):
# Step Two: Check Dependencies
check_python_version() # require python2.4 or later
- check_dotdir() # require ~/.phenny, or make it and exit
+ if not opts.config:
+ check_dotdir() # require ~/.phenny, or make it and exit
# Step Three: Load The Configurations