Mercurial > eagle-eye
diff pyikriam/ikariam.py @ 225:f3502833be7c
add a gmail to get confirme url address.
author | kevin@tombear.tombears.com |
---|---|
date | Tue, 04 Nov 2008 23:32:06 +0800 |
parents | 5fa938cbe058 |
children | 60c4b4b78a01 |
line wrap: on
line diff
--- a/pyikriam/ikariam.py Tue Nov 04 18:34:06 2008 +0800 +++ b/pyikriam/ikariam.py Tue Nov 04 23:32:06 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