diff --git a/sickbeard/webapi.py b/sickbeard/webapi.py index b5c20d0b..8115f98a 100644 --- a/sickbeard/webapi.py +++ b/sickbeard/webapi.py @@ -1171,7 +1171,7 @@ class CMD_History(ApiCall): row["resource_path"] = os.path.dirname(row["resource"]) row["resource"] = os.path.basename(row["resource"]) # Add tvdbid for backward compability - ep["tvdbid"] = ep['indexerid'] + row['tvdbid'] = row['indexerid'] results.append(row) myDB.connection.close()