Fixed git link which would err when looking at a project
authorDylan Lloyd <dylan@dylansserver.com>
Tue, 7 Feb 2012 13:04:04 +0000 (08:04 -0500)
committerDylan Lloyd <dylan@dylansserver.com>
Tue, 7 Feb 2012 13:04:04 +0000 (08:04 -0500)
index.php
publish_notes.py

index 88f82d2..58b10f6 100644 (file)
--- a/index.php
+++ b/index.php
@@ -163,7 +163,7 @@ class index extends cms {
         </li>
 
         <li><a href=
-        "git">git://dylansserver.com</a></li>
+        "/git/">git://dylansserver.com</a></li>
 
         <li>
           <h3>some notes:</h3>
index 3c955c3..4b711d9 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python2
 
 NOTES_DIRECTORY = '/home/dylan/docs/notes'
 
@@ -37,5 +37,5 @@ for note in notes:
              VALUES(\"%s\", \"%s\", \"%s\", \"%s\")"\
              % (time.strftime("%Y/%m/%d %I:%M:00", date_posted), url, title, db.escape_string(text))
 
-    #print sql
-    cursor.execute(sql)
+    print sql
+    #cursor.execute(sql)