Skip to content

Commit

Permalink
Biggest change, for #21
Browse files Browse the repository at this point in the history
  • Loading branch information
jgvictores authored Apr 8, 2018
1 parent 428e6ae commit 3cfae13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion song-directory-transpose.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def query(question, default, skipQuery=False):
def process( stringToProcess, processed):
global songHalfTones
#print 'String to process "' + stringToProcess + '".'
afterSplit = re.split(" |-|!|\.\.\.|\.\.|: |\*|high|open|bass|riff|palm mute|notes|m6|madd11/|m7add11/|7sus2|8|m7b5|madd13|add13", stringToProcess, 1) # 3rd parameter is maxsplit # Also works with single space, do this to catch faulty txt.
afterSplit = re.split(" |_|!|\.\.\.|\.\.|: |\*|high|open|bass|riff|palm mute|notes|m6|madd11/|m7add11/|7sus2|8|m7b5|madd13|add13", stringToProcess, 1) # 3rd parameter is maxsplit # Also works with single space, do this to catch faulty txt.
#print '* Split by delimiters "' + str(afterSplit) + '".'
#print 'songHalfTones:',songHalfTones
if len(afterSplit[0]) != 0:
Expand Down

0 comments on commit 3cfae13

Please sign in to comment.