View Single Post
Old 06-04-2014, 04:27 PM   #7
barbataglia
Junior Member
barbataglia began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2014
Device: ipad2
Little Bug

Hello, I found a bug in __init__.py module, now MondoUrania reply also with "mondo Urania" in response. So I modified your code inserting some lines:

Your code:

if ' - MondoUrania' in title:
title = title.rpartition(' - MondoUrania')[0].strip()
if ' - Mondourania' in title:
title = title.rpartition(' - Mondourania')[0].strip()

My code:

if ' - MondoUrania' in title:
title = title.rpartition(' - MondoUrania')[0].strip()
if ' - Mondo Urania' in title:
title = title.rpartition(' - Mondo Urania')[0].strip()
if ' - Mondourania' in title:
title = title.rpartition(' - Mondourania')[0].strip()

Regards.

Luca
barbataglia is offline   Reply With Quote