jp (blog): minor typo fix
This commit is contained in:
parent
6025cc4e3b
commit
71d61f372f
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue