From a1c158ca3c52baed5ab3bd5319119020ce149b6a Mon Sep 17 00:00:00 2001 From: Martin Langhoff Date: Wed, 01 Dec 2010 23:12:28 +0000 Subject: Fix activity.py to follow the new run_server() calling convention --- (limited to 'activity.py') diff --git a/activity.py b/activity.py index ce7c988..913da3a 100644 --- a/activity.py +++ b/activity.py @@ -43,7 +43,8 @@ class WikipediaActivity(webactivity.WebActivity): os.chdir(os.environ['SUGAR_BUNDLE_PATH']) server.load_db(WIKIDB) - server.run_server(WIKIDB, int(HTTP_PORT)) + server.run_server({ 'path': WIKIDB, + 'port': int(HTTP_PORT) }) handle.uri = 'http://localhost:%s%s' % (HTTP_PORT, HOME_PAGE) -- cgit v0.9.1