Skip to content

Commit

Permalink
issue #748 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
petersilva committed Aug 17, 2023
1 parent 5f838e2 commit a21aa9a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions sarracenia/sr.py
Original file line number Diff line number Diff line change
Expand Up @@ -1500,10 +1500,7 @@ def foreground(self):
component_path = os.path.dirname(
component_path) + os.sep + 'instance.py'
cmd = [sys.executable, component_path, '--no', "0"]
if sys.argv[0].find('python') >= 0:
cmd.extend(sys.argv[2:])
else:
cmd.extend(sys.argv[1:])
cmd.extend(sys.argv[1:])

elif c[0] != 'c': # python components
if cfg is None:
Expand Down

0 comments on commit a21aa9a

Please sign in to comment.