Astalaseven / twitter-rss

Rss-generator for Twitter
MIT License
78 stars 29 forks source link

Python 2.6: str.decode() takes no keyword arguments #10

Closed kesu closed 11 years ago

kesu commented 11 years ago

Fixes "TypeError: decode() takes no keyword arguments" in Python 2.6

Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40) 
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> "test".decode(encoding='UTF-8')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: decode() takes no keyword arguments
>>>