Skip to content

Commit

Permalink
Fixed os.path.isdir
Browse files Browse the repository at this point in the history
  • Loading branch information
Dilawar committed Aug 15, 2014
1 parent f039900 commit b876567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def read(*paths):
return f.read()

configDir = os.path.join(os.environ['HOME'], '.config', 'sniffer')
if not configDir:
if not os.path.isdir(configDir):
os.makedirs(configDir)

setup(
Expand Down

0 comments on commit b876567

Please sign in to comment.