Permalink
Browse files

fixed to work with python 2.6 on server

  • Loading branch information...
1 parent f7bb10c commit 316ff77a4d38862f1c9595ba663977340ad74942 illutron committed Oct 9, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 apps/log/models.py
  2. +1 −1 settings.py
View
4 apps/log/models.py
@@ -22,5 +22,5 @@ def __unicode__(self):
s = ""
if not self.on_illutron:
s = " not"
- return "{} is{} on Illutron".format(self.member.username, s)
-
+ return "%s is%s on Illutron" % (self.member.username, s)
+
View
2 settings.py
@@ -131,4 +131,4 @@
execfile(BASE_PATH + '/settings_local.py')
except IOError:
sys.stderr.write("\nYou need to copy settings_local.example to settings_local.py and customize it.\n")
- sys.exit(1)
+ sys.exit(1)

0 comments on commit 316ff77

Please sign in to comment.