mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Merge pull request #3 from paulromano/simplified_tests
Fix bug in Executor._run_openmc that caused infinite loop in Python 3
This commit is contained in:
commit
5e40ff6288
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ class Executor(object):
|
|||
print(line, end='')
|
||||
|
||||
# If OpenMC is finished, break loop
|
||||
if line == '' and p.poll() != None:
|
||||
if not line and p.poll() != None:
|
||||
break
|
||||
|
||||
# Return the returncode (integer, zero if no problems encountered)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue