Skip to content

Commit

Permalink
key name "url" to "link"
Browse files Browse the repository at this point in the history
  • Loading branch information
zzossig committed Feb 4, 2020
1 parent d090160 commit 5115a47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"python.formatting.provider": "yapf",
"python.pythonPath": "C:\\Users\\SH\\Anaconda3\\python.exe"
"python.pythonPath": "C:\\Users\\cshl0\\Anaconda3\\envs\\virtual_workspace\\python.exe"
}
2 changes: 2 additions & 0 deletions zzo/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ def parse(args):
elif key == 'keywords':
keywords = parsed_dict.split(',')
result.append(f'keywords: {keywords}')
elif key == 'url':
result.append(f'link: {parsed_dict}')
else:
result.append(f'{key}: "{parsed_dict}"')

Expand Down

0 comments on commit 5115a47

Please sign in to comment.