Skip to content

Commit

Permalink
Fixed #7
Browse files Browse the repository at this point in the history
  • Loading branch information
yourtion committed Jan 18, 2017
1 parent 9c867e0 commit f20e9ce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Source/info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ import NumToCny
import json
def parse(strs):
res = {"title": strs,"subtitle": "Copy to clipboard","arg": "Copy to clipboard","icon": "icon.png"}
return {"items": [res]}
res = { "title": strs, "subtitle": "Copy to clipboard","arg": strs, "icon": "icon.png" }
return { "items": [res] }
ret = NumToCny.to_rmb_upper('{query}')
Expand Down Expand Up @@ -124,7 +124,7 @@ print(json.dumps(parse(ret)))</string>
</dict>
</dict>
<key>version</key>
<string>1.4</string>
<string>1.5</string>
<key>webaddress</key>
<string>https://github.com/yourtion/Alfred_NumToCny</string>
</dict>
Expand Down
4 changes: 2 additions & 2 deletions Source/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import json

def parse(strs):
res = {"title": strs,"subtitle": "Copy to clipboard","arg": "Copy to clipboard","icon": "icon.png"}
return {"items": [res]}
res = { "title": strs, "subtitle": "Copy to clipboard","arg": strs, "icon": "icon.png" }
return { "items": [res] }

ret = NumToCny.to_rmb_upper('{query}')

Expand Down
Binary file modified 人民币金额大写.alfredworkflow
Binary file not shown.

0 comments on commit f20e9ce

Please sign in to comment.