Skip to content

Commit

Permalink
Merge pull request #28 from atjason/master
Browse files Browse the repository at this point in the history
Remove extra space in 'sound:{0}'.
  • Loading branch information
finalion authored Apr 30, 2017
2 parents 3f1aef2 + 7a2c9ea commit d4e1502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wquery/service/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def active(self, action_label, word):

@staticmethod
def get_anki_label(filename, type_):
formats = {'audio': u'[sound: {0}]',
formats = {'audio': u'[sound:{0}]',
'img': u'<img src="{0}">',
'video': u'<video controls="controls" width="100%" height="auto" src="{0}"></video>'}
return formats[type_].format(filename)
Expand Down

0 comments on commit d4e1502

Please sign in to comment.