merge tag?
authorTero Marttila <terom@fixme.fi>
Tue, 28 Feb 2012 13:11:22 +0200
changeset 148 278cdecf0191
parent 147 95b0a3fdd207 (diff)
parent 145 bc2910029fa8 (current diff)
child 150 6e83183e242f
merge tag?
--- a/bin/qmsk-irclogs.fcgi	Sun Sep 13 20:11:06 2009 +0300
+++ b/bin/qmsk-irclogs.fcgi	Tue Feb 28 13:11:22 2012 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.5
+#!/usr/bin/python
 # :set filetype=py
 
 """
--- a/qmsk/irclogs/log_source.py	Sun Sep 13 20:11:06 2009 +0300
+++ b/qmsk/irclogs/log_source.py	Tue Feb 28 13:11:22 2012 +0200
@@ -161,7 +161,7 @@
             lines.append(line)
         
         # calculate max_pages
-        max_pages = math.ceil(float(line_count) / count)
+        max_pages = int(math.ceil(float(line_count) / count))
         
         # return
         return (page, max_pages, lines)