diff pyikriam/ikariam.py @ 227:f41ee87f4f7a

merged
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Tue, 04 Nov 2008 23:44:48 +0800
parents f3502833be7c
children 60c4b4b78a01
line wrap: on
line diff
--- a/pyikriam/ikariam.py	Tue Nov 04 23:40:25 2008 +0800
+++ b/pyikriam/ikariam.py	Tue Nov 04 23:44:48 2008 +0800
@@ -11,7 +11,7 @@
 class fake_moz(object):
     __metaclass__ = decorator
 
-    def __init__(self,headers=0):
+    def __init__(self,headers=None):
         fakeheaders=[('User-agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.8.1.12pre) Gecko/20071220 BonEcho/2.0.0.12pre')]
         if headers:
             fakeheaders=fakeheaders+headers