Skip to content

Commit

Permalink
Merge pull request #69 from sagar-kohli/new_branch
Browse files Browse the repository at this point in the history
fixes issue #68
  • Loading branch information
botanicvelious committed Jul 21, 2017
2 parents 1629ec6 + c580dae commit 1df734f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/damn_at/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def assetname_completer(prefix, parsed_args, **kwargs):

def split_assetname(assetname):
import re
regexp = re.compile(r'^(.+?)(\((.+?)\))?$')
regexp = re.compile(r'^(.+?)\s*(\((.+?)\))?$')
match = regexp.match(assetname)
asset_subname = match.group(1)
asset_mimetype = match.group(3)
Expand Down

0 comments on commit 1df734f

Please sign in to comment.