Skip to content

Commit a5160ee

Browse files
committed
Mod recompile logic fix
1 parent 08b6887 commit a5160ee

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

netpyne_ui/mod_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ def loadModMechFiles(compileMod, modFolder, forceRecompile=False):
3737
if os.path.exists(modPath):
3838
if forceRecompile:
3939
shutil.rmtree(modPath)
40-
return
40+
else:
41+
return
4142

4243
os.chdir(modFolder)
4344
subprocess.call(["nrnivmodl"])

0 commit comments

Comments
 (0)