Skip to content

Commit

Permalink
Remove trailing whitespaces from local folder names that caused bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
lendenmc committed Dec 2, 2016
1 parent 4dbb80a commit baab3f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ifskills-dl.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ def get_sections(self):
@staticmethod
def sanitize_filename(name):
name = re.sub(r'\/', '', name)
name = name.rstrip()
return name

@staticmethod
Expand Down

0 comments on commit baab3f3

Please sign in to comment.