issue with none ascii chars in title name. decode to utf-8 and encode…
@ -45,7 +45,8 @@ class Automation(AutomationBase):
def search(self, name, year = None, imdb_only = False):
prop_name = 'automation.cached.%s.%s' % (name, year)
cache_name = name.decode('utf-8').encode('ascii', 'ignore')
prop_name = 'automation.cached.%s.%s' % (cache_name, year)
cached_imdb = Env.prop(prop_name, default = False)
if cached_imdb and imdb_only:
return cached_imdb