Skip to content

Commit

Permalink
status only check if a note published
Browse files Browse the repository at this point in the history
  • Loading branch information
LeslieZhu committed Mar 12, 2016
1 parent 5e5c35c commit fed6721
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions orgnote/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ def publish_note(notename=""):

for _file in reversed(sorted(glob.glob(glob_re))):
_html = _file.replace(".org",".html")
#if not os.path.exists(_html):
to_page(_file)
if not os.path.exists(_html):
to_page(_file)
_title = gen_title(_html)
return "- [[%s][%s]]" % (_html,_title)
return None
Expand Down

0 comments on commit fed6721

Please sign in to comment.