Skip to content

Commit 2383e2a

Browse files
author
kai
committed
Update scripts
1 parent 7728d52 commit 2383e2a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/retag_untagged.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python3
22
"""
33
Script to replace all "UNTAGGED" strings in MSIDExecutionFlowConstants.m with unique 5-character tags.
4-
Tags use lowercase letters a-z and digits 1-9.
4+
Tags use lowercase letters a-z and digits 0-9.
55
"""
66

77
import re
@@ -11,8 +11,8 @@
1111

1212

1313
def generate_tag(existing_tags):
14-
"""Generate a unique 5-character tag using a-z and 1-9."""
15-
chars = 'abcdefghijklmnopqrstuvwxyz123456789'
14+
"""Generate a unique 5-character tag using a-z and 0-9."""
15+
chars = 'abcdefghijklmnopqrstuvwxyz0123456789'
1616
max_attempts = 10000
1717

1818
for _ in range(max_attempts):

0 commit comments

Comments
 (0)