Skip to content

Commit

Permalink
fix --open command
Browse files Browse the repository at this point in the history
  • Loading branch information
Granitosaurus committed May 20, 2022
1 parent 80c4bb5 commit 78e0d36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parselcli/prompt/commands.py
Expand Up @@ -34,7 +34,7 @@ def cmd_fetch(self, text):

def cmd_open(self):
"""open current response url in browser"""
webbrowser.open_new_tab(self.response.url)
webbrowser.open_new_tab(self.renderer.response.url)

def cmd_view(self):
"""open current response data in browser"""
Expand Down

0 comments on commit 78e0d36

Please sign in to comment.