Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix

  • Loading branch information...
commit 68b69f185819a1637811488a12d20d25acf3a609 1 parent 3e9b7f2
@evilsocket authored
Showing with 3 additions and 1 deletion.
  1. +1 −0  .gitignore
  2. +2 −1  entities/page.py
View
1  .gitignore
@@ -1 +1,2 @@
*.pyc
+*.swp
View
3  entities/page.py
@@ -38,7 +38,8 @@ def __init__( self, title, template = None ):
def setCustom( self, name, value ):
self.custom[name] = value
- self.author.setCustom( name, value )
+ if self.author is not None:
+ self.author.setCustom( name, value )
for category in self.categories:
category.setCustom( name, value )
Please sign in to comment.
Something went wrong with that request. Please try again.