From 60d8c6bc05e6572af685e2ae3d8f2fd1a4a545bf Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 18 Oct 2011 15:50:16 +0200 Subject: [PATCH] not everybody can be --- ox/web/imdb.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ox/web/imdb.py b/ox/web/imdb.py index 1274a96..bfb1cba 100644 --- a/ox/web/imdb.py +++ b/ox/web/imdb.py @@ -355,6 +355,8 @@ class Imdb(SiteParser): if not 'creator' in series and 'director' in series: series['creator'] = series['director'] + if len(series['creator']) > 10: + series['creator'] = series['director'][:1] for key in ['creator', 'year', 'country']: if key in series: