Skip to content

Commit

Permalink
How did that sneak in there? (don't replace all periods with dashes)
Browse files Browse the repository at this point in the history
  • Loading branch information
midgetspy committed Sep 14, 2011
1 parent 4e4ba23 commit f4255a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sickbeard/helpers.py
Expand Up @@ -108,7 +108,7 @@ def sanitizeFileName (name):
'''

# remove bad chars from the filename
name = re.sub(r'[\\/\*.]', '-', name)
name = re.sub(r'[\\/\*]', '-', name)
name = re.sub(r'[:"<>|?]', '', name)

# remove leading/trailing periods
Expand Down

0 comments on commit f4255a7

Please sign in to comment.