Changeset 22
- Timestamp:
- 10/04/08 12:28:45 (2 years ago)
- Files:
-
- 1 modified
-
procyon/api/tvdb.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
procyon/api/tvdb.py
r16 r22 346 346 def _textOrNone(elem): 347 347 if elem is not None and elem.text is not None: 348 return unicode(elem.text) 348 # PHP just fails at absolutely everything. STOP TRIPLE ESCAPING YOUR 349 # STRINGS YOU GODDAMN PHP CODEMONKEYS! 350 return unicode(elem.text).encode('utf8').decode('unicode-escape') 349 351 return None 350 352
