Skip to content

Commit baca625

Browse files
committed
Update[UUID tool]
1 parent e838f42 commit baca625

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

afw_uuid_tool/info.plist

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
<dict>
55
<key>bundleid</key>
66
<string>com.rexzhang.alfred-workflows.uuid-tool</string>
7-
<key>category</key>
8-
<string>Tools</string>
97
<key>connections</key>
108
<dict>
119
<key>19F264BF-E5DF-4AFC-A2AA-5E0B2967246B</key>
@@ -44,7 +42,7 @@
4442
<key>argumenttrimmode</key>
4543
<integer>0</integer>
4644
<key>argumenttype</key>
47-
<integer>0</integer>
45+
<integer>1</integer>
4846
<key>escaping</key>
4947
<integer>102</integer>
5048
<key>keyword</key>
@@ -74,7 +72,7 @@ python3 afw.py call $query</string>
7472
<key>type</key>
7573
<integer>5</integer>
7674
<key>withspace</key>
77-
<true/>
75+
<false/>
7876
</dict>
7977
<key>type</key>
8078
<string>alfred.workflow.input.scriptfilter</string>

afw_uuid_tool/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def _make_data_from_uuid(u: uuid.UUID) -> list[AFWResponse]:
1616
(str(u.int), "The UUID as a 128-bit integer."),
1717
(str(u.urn), "The UUID as a URN as specified in RFC 4122."),
1818
(
19-
str(u.version),
19+
f"Version {u.version}",
2020
"The UUID version number (1 through 5, specified is RFC_4122).",
2121
),
2222
)

0 commit comments

Comments
 (0)