Skip to content

Commit

Permalink
Allow asterisks on unix
Browse files Browse the repository at this point in the history
  • Loading branch information
allejok96 committed Apr 2, 2021
1 parent 0c2342c commit c86d117
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jwlib/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ def format_filename(string):
forbidden = '<>|?\\*/\0\n'
else:
# Unix forbidden characters
# Remove asterisk as this is used by glob expansion later in the script
forbidden = '/\0*'
forbidden = '/\0'

return ''.join(x for x in string if x not in forbidden)

Expand Down

0 comments on commit c86d117

Please sign in to comment.