Skip to content

Commit a858c74

Browse files
committed
Logic needed reversal
1 parent ab0555f commit a858c74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/Python/mcrun/mccode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def x_path(file):
139139
self.binpath = './%s.%s' % (self.name, mccode_config.platform['EXESUFFIX'])
140140

141141
# Check if self.path is .exe or .out binary, if so - skip ahead to execution
142-
if options.force_compile or not pathlib.Path(self.path).suffix==mccode_config.platform['EXESUFFIX']:
142+
if pathlib.Path(self.path).suffix==mccode_config.platform['EXESUFFIX']:
143143
return
144144

145145
# Check if c-code should be regenerated by comparing to instr timestamp

0 commit comments

Comments
 (0)