Skip to content

Commit

Permalink
Fix: func getActors return list in pisplay
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdctop committed Feb 2, 2023
1 parent bfcc3d5 commit 979c63a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scrapinglib/pissplay.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ def getActors(self, htmltree) -> list:
tags = self.getTreeAll(htmltree, self.expr_tags)
if 'Guests' in tags:
if tags[0] == 'Collaboration' or tags[0] == 'Toilet for a Day' or tags[0] == 'Collaboration':
return tags[1]
return [tags[1]]
else:
return tags[0]
return [tags[0]]
else:
return 'Bruce and Morgan'

Expand Down

0 comments on commit 979c63a

Please sign in to comment.