disinclined.org
/
git
/
dylansserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed error when .swp files in /notes or /projects
[dylansserver.git]
/
publish_notes.py
diff --git
a/publish_notes.py
b/publish_notes.py
index
2f99dc6
..
331030c
100755
(executable)
--- 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))