Skip to content

Commit

Permalink
change hot key
Browse files Browse the repository at this point in the history
  • Loading branch information
vibiu committed Aug 26, 2016
1 parent d5ed2dd commit 56fca7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Default.sublime-keymap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"keys": ["ctrl+alt+shift+r"],
"keys": ["ctrl+alt+shift+w"],
"command": "autoweb"
}
]
4 changes: 2 additions & 2 deletions tools/curl2req.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ def convert(curl):
'url = "{url}"',
'headers = {headers}',
'data = {data}',
'if __name__ == \'__main__\' :',
' resp = requests.{method}(url,headers=headers,data=data)',
'if __name__ == \'__main__\':',
' resp = requests.{method}(url, headers=headers, data=data)',
' print(resp.status_code)',
' print(resp.content)',
]
Expand Down

0 comments on commit 56fca7b

Please sign in to comment.