mirror of
https://github.com/kennethreitz-archive/.com.git
synced 2026-06-05 07:16:11 +00:00
hell yes
This commit is contained in:
+1
-3
@@ -30,8 +30,6 @@ class Post(object):
|
||||
self.content = None
|
||||
self.id = None
|
||||
|
||||
|
||||
|
||||
posts = []
|
||||
|
||||
try:
|
||||
@@ -79,7 +77,7 @@ for post in posts:
|
||||
article += ':date: %s\n' % post.published.strftime('%Y-%m-%d %H:%M')
|
||||
article += ':category: Code\n\n\n'
|
||||
|
||||
article += smart_str(content.rst)
|
||||
article += content.rst
|
||||
print post.title
|
||||
|
||||
with open(filename, 'w') as f:
|
||||
|
||||
Reference in New Issue
Block a user