Skip to content

Commit

Permalink
Merge pull request #9 from hpc-io/fix-hint
Browse files Browse the repository at this point in the history
Fix when no hints
  • Loading branch information
jeanbez authored Jul 12, 2023
2 parents b57d304 + a247e05 commit 455249c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drishti/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,8 @@ def main():
cb_nodes = None

for hint in hints:
(key, value) = hint.split('=')
if hint != 'no':
(key, value) = hint.split('=')

if key == 'cb_nodes':
cb_nodes = value
Expand Down Expand Up @@ -1706,4 +1707,4 @@ def main():


if __name__ == '__main__':
main()
main()

0 comments on commit 455249c

Please sign in to comment.