From 85e296f2b9aed7d7631852a4e283bb45dbf92d7c Mon Sep 17 00:00:00 2001 From: Nicholas Hall Date: Fri, 12 Feb 2016 15:15:35 -0600 Subject: [PATCH] fixes TypeError --- creepy/utilities/GeneralUtilities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/creepy/utilities/GeneralUtilities.py b/creepy/utilities/GeneralUtilities.py index fe0824d..c3f17ba 100644 --- a/creepy/utilities/GeneralUtilities.py +++ b/creepy/utilities/GeneralUtilities.py @@ -40,7 +40,7 @@ def getProjectsDir(): try: os.makedirs(directory) except OSError as e: - if e.errno == errno.EEXIST and os.path.isdir(dir): + if e.errno == errno.EEXIST and os.path.isdir(directory): pass else: raise