Ticket #7707: plot.patch

File plot.patch, 520 bytes (added by velorider@…, 14 years ago)

Patch to fix plot parsing

  • imdbpy.py

     
    327327                shortest_found = None
    328328                #print "%d plots found" % len(plots)
    329329                for plot in plots:
    330                         text = plot.split("::")[1]
     330                        if plot.startswith("Outline"):
     331                                test = plot.split("::")[1]
     332                        else:
     333                                text = plot.split("::")[0]
    331334                        if shortest_found == None or len(text) < len(shortest_found):
    332335                                shortest_found = text
    333336                metadata.plot = shortest_found