From c65639d55f7b897b21af98c522a647917327f6ba Mon Sep 17 00:00:00 2001 From: "Esteban (Eka) Feldman" Date: Thu, 16 Feb 2012 12:22:41 -0300 Subject: [PATCH] when config file is passed by arg avoid creating config dir --- phenny | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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