Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/activity.py
diff options
context:
space:
mode:
authorMartin Langhoff <martin@laptop.org>2010-12-01 23:12:28 (GMT)
committer Martin Langhoff <martin@laptop.org>2010-12-01 23:12:28 (GMT)
commita1c158ca3c52baed5ab3bd5319119020ce149b6a (patch)
tree34b6816198f9d82e461816858a158da10e84936f /activity.py
parent998e78ec3783909118045698237bf78db5eab892 (diff)
Fix activity.py to follow the new run_server() calling convention
Diffstat (limited to 'activity.py')
-rw-r--r--activity.py3
1 files changed, 2 insertions, 1 deletions
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)