From 361eca31504fcac8163f1285f785b86333b6a668 Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Tue, 24 Feb 2009 14:30:41 +0000 Subject: Convert loaded theme-index to int --- diff --git a/sugaractivity.py b/sugaractivity.py index 713365d..fe03eb2 100644 --- a/sugaractivity.py +++ b/sugaractivity.py @@ -60,7 +60,7 @@ class sugaractivity( activity.Activity, Infoslicer_GUI ): sourcetitle = lines[0] workingtitle = lines[1] workingtheme = lines[2] - currentindex = lines[3] + currentindex = int(lines[3]) print "file read" print "sourcetitle: %s, workingtitle: %s, workingtheme: %s, currentindex: %s" % (sourcetitle, workingtitle, workingtheme, currentindex) @@ -128,4 +128,4 @@ class sugaractivity( activity.Activity, Infoslicer_GUI ): def can_close(self): self.do_quit_event() - return True + return True -- cgit v0.9.1