X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=publish_notes.py;h=331030caeba5b3984ebbf70a2814cefa4817ac63;hb=7e4f42439c5e121d0c5647d282d6e4477e2696d1;hp=2f99dc61e5404df72c54f5c0493038bf0d2b731a;hpb=a344a94edd8dbab7ff00ebd5e26d9acfabda679d;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))