From f20e9ce9d1737ee119b70e45c39f413d06baf6eb Mon Sep 17 00:00:00 2001 From: YourtionGuo Date: Wed, 18 Jan 2017 22:32:02 +0800 Subject: [PATCH] Fixed #7 --- Source/info.plist | 6 +++--- Source/source.py | 4 ++-- ...35\345\244\247\345\206\231.alfredworkflow" | Bin 275477 -> 275476 bytes 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Source/info.plist b/Source/info.plist index 68e411d..bd11ca8 100644 --- a/Source/info.plist +++ b/Source/info.plist @@ -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}') @@ -124,7 +124,7 @@ print(json.dumps(parse(ret))) version - 1.4 + 1.5 webaddress https://github.com/yourtion/Alfred_NumToCny diff --git a/Source/source.py b/Source/source.py index 2c08a01..a20c31f 100644 --- a/Source/source.py +++ b/Source/source.py @@ -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}') diff --git "a/\344\272\272\346\260\221\345\270\201\351\207\221\351\242\235\345\244\247\345\206\231.alfredworkflow" "b/\344\272\272\346\260\221\345\270\201\351\207\221\351\242\235\345\244\247\345\206\231.alfredworkflow" index e78ab2dce4ac30b27f06fbdfcc89e936376819c4..8880f98031badad62d2c7871e79b6667fa49a068 100644 GIT binary patch delta 3041 zcmZXWcRbXOAIHzRTxKq^Ix>nfE;(7rrZY0)kbM~?^BmcIkiEz0N+B!rvWrkcHX&Q~ zy0b@!jGu46$K(6^{(iqd-v7MEDi8=q3j)!B z;2>=eCj%E{XK#e7w>8>;8bo>E0~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