Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
Added null check
Browse files Browse the repository at this point in the history
  • Loading branch information
rhyolight committed Apr 3, 2015
1 parent b0f13c4 commit e16c37d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,8 @@ def getCommandLineOption(name, options):
def prepareNupicCore(options, platform, bitness):

nupicCoreReleaseDir = getCommandLineOption("nupic-core-dir", options)
nupicCoreReleaseDir = os.path.expanduser(nupicCoreReleaseDir)
if nupicCoreReleaseDir is not None:
nupicCoreReleaseDir = os.path.expanduser(nupicCoreReleaseDir)
nupicCoreSourceDir = None
fetchNupicCore = True

Expand Down

0 comments on commit e16c37d

Please sign in to comment.