Skip to content

Commit 1127060

Browse files
committed
music: Replace '*' with '-'
1 parent 6aa6242 commit 1127060

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python2.7/music-organizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
emptyChars = re.compile(r"[(),.'\\\?\#]")
1010
def toNeat(s):
11-
s = s.lower().replace(" ", "-").replace("&", "and")
11+
s = s.lower().replace(" ","-").replace("&","and").replace("*","-")
1212
s = emptyChars.sub("", s)
1313
search = re.search("[^0-9a-z\-]", s)
1414
if search:

0 commit comments

Comments
 (0)