small programming style cleanup

This commit is contained in:
Axel Kohlmeyer
2019-01-14 17:47:58 -05:00
parent d01c28002f
commit cea0855fe4
5 changed files with 5 additions and 5 deletions

View File

@ -63,7 +63,7 @@ voropath = args.path
homepath = fullpath(".")
homedir = "%s/%s" % (homepath,version)
if (pathflag):
if pathflag:
if not os.path.isdir(voropath):
sys.exit("Voro++ path %s does not exist" % voropath)
homedir = voropath