jp (blog): minor typo fix

This commit is contained in:
Goffi 2017-06-27 17:02:10 +02:00
commit 71d61f372f

View file

@ -416,7 +416,7 @@ class Preview(base.CommandBase, BlogCommon):
self.parser.add_argument("file", type=base.unicode_decoder, nargs='?', default=u'current', help=_(u"path to the content file"))
def showPreview(self):
# we implement showPreview here so we don't have to import webbroser and urllib
# we implement showPreview here so we don't have to import webbrowser and urllib
# when preview is not used
url = 'file:{}'.format(self.urllib.quote(self.preview_file_path))
self.webbrowser.open_new_tab(url)