Skip to content

Commit

Permalink
Merge pull request #632 from teltek/hotfix_24818
Browse files Browse the repository at this point in the history
fixed series error
  • Loading branch information
samuvlad committed Jan 26, 2021
2 parents 04c2703 + c4de13e commit 84b14cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion galicaster/opencast/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def filterSeriesbyId(list_series, seriesid):
Generate a list with the series value name, shortname and id
"""
for element in list_series:
if seriesid and seriesid in element[1]["identifier"].encode('utf8'):
if seriesid and seriesid in element[1]["identifier"]:
try:
match = {"id": seriesid, "name": element[1]["title"], "list": element[1]}
return match
Expand Down

0 comments on commit 84b14cb

Please sign in to comment.