From ccc131233bd75777b23ae3ebfd5a45547db845fd Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Mon, 19 Jan 2015 08:19:43 -0200 Subject: [PATCH] fix mistake reported by Tim Nicholson --- twister-control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twister-control.py b/twister-control.py index 23d8fbfb..a3a6ee03 100755 --- a/twister-control.py +++ b/twister-control.py @@ -50,7 +50,7 @@ def loadConfig(): def saveConfig(): configDir = os.path.dirname(configFilename) if not os.path.exists(configDir): - os.makedirs(os.path.dirname(configDir)) + os.makedirs(configDir) with open(configFilename, "wb") as csvfile: writer = csv.writer(csvfile, delimiter='=', escapechar='\\', quoting=csv.QUOTE_NONE) for key, value in sorted(configOptions.items(), key=operator.itemgetter(0)):