Commit 365a16db authored by echel0n's avatar echel0n

Resolved issue with int variable being used where str variable is expected...

Resolved issue with int variable being used where str variable is expected when creating metadata for mede8er provider.
parent bfd27b17
......@@ -128,9 +128,8 @@ class Mede8erMetadata(MediaBrowserMetadata):
# check for title and id
if not (getattr(myShow, 'seriesname', None) and getattr(myShow, 'id', None)):
sickrage.app.log.info(
"Incomplete info for show with id " + str(show_obj.indexer_id) + " on " + IndexerApi(
show_obj.indexer).name + ", skipping it")
sickrage.app.log.info("Incomplete info for "
"show with id " + str(show_obj.indexer_id) + " on " + IndexerApi(show_obj.indexer).name + ", skipping it")
return False
SeriesName = SubElement(tv_node, "title")
......@@ -185,7 +184,7 @@ class Mede8erMetadata(MediaBrowserMetadata):
if getattr(myShow, 'id', None):
indexer_id = SubElement(tv_node, "indexer_id")
indexer_id.text = myShow['id']
indexer_id.text = str(myShow['id'])
if getattr(myShow, 'runtime', None):
Runtime = SubElement(tv_node, "runtime")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment