瀏覽代碼

Better debug message

oz123 11 年之前
父節點
當前提交
61b23088eb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      blogit.py

+ 1 - 1
blogit.py

@@ -372,7 +372,7 @@ def build():
                 if fileName.endswith('md') or fileName.endswith('markdown'):
                     entry = Entry(os.path.join(root, fileName))
             except Exception, e:
-                print "Found some problem in: ", fileName
+                print "Found some problem in: ", entry.path
                 print e
                 print "Please correct this problem ..."
                 sys.exit()