X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=publish_notes.py;h=331030caeba5b3984ebbf70a2814cefa4817ac63;hb=f599d79cf6bf53ad8e4e3164bc01c9b55ecc199f;hp=2f99dc61e5404df72c54f5c0493038bf0d2b731a;hpb=05250f978cc7e3e1f7df92f20fd18f4667a06f2f;p=dylansserver.git diff --git a/publish_notes.py b/publish_notes.py index 2f99dc6..331030c 100755 --- a/publish_notes.py +++ b/publish_notes.py @@ -25,6 +25,7 @@ for row in results: existing_titles.append(row[0]) for note in notes: + if note[:1] == '.': continue if note == 'index.php' or note == 'notes.php': continue url = note[:note.index('.')] f = open(os.path.join(NOTES_DIRECTORY, note))