Skip to content

Commit

Permalink
Update update.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fladd authored Aug 11, 2017
1 parent 38681ee commit b6a10e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions update.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@
matches.append(os.path.join(root, filename))

for filename in matches + list(set(lastupdate["pagelisting_files"]) - set(matches)):
if os.path.getmtime(filename) < lastupdate["time"]:
continue
if not filename in lastupdate["pagelisting_files"]:
if os.path.getmtime(filename) < lastupdate["time"]:
continue

# Read in content and convert to markdown
_metas = defaults.copy()
Expand Down

0 comments on commit b6a10e8

Please sign in to comment.