Skip to content

Commit

Permalink
successfully exit after pyct command is executed (#2883)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximlt authored Nov 5, 2021
1 parent e195389 commit 7710efc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions panel/command/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def main(args=None):
print("install pyct to enable this command (e.g. `conda install -c pyviz pyct` or `pip install pyct[cmd]`)")
sys.exit(1)
pyct.cmd.substitute_main('panel', cmds=pyct_commands, args=args)
sys.exit()
else:
parser.parse_args(sys.argv[1:])
sys.exit(1)
Expand Down

0 comments on commit 7710efc

Please sign in to comment.