Skip to content

Commit 1027816

Browse files
committed
Formatting.
1 parent 0e4c568 commit 1027816

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

python2.7/music-organizer.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77

88
emptyChars = re.compile(r"[(),.'\\\?]")
99
def toNeat(s):
10-
s = s.lower()
11-
s = s.replace(" ", "-")
12-
s = s.replace("&", "and")
10+
s = s.lower().replace(" ", "-").replace("&", "and")
1311
s = emptyChars.sub("", s)
1412
search = re.search("[^0-9a-z\-]", s)
1513
if search:

0 commit comments

Comments
 (0)