diff --git a/scripts/import_streams_from_xtream.py b/scripts/import_streams_from_xtream.py index 7763c88..f76d329 100755 --- a/scripts/import_streams_from_xtream.py +++ b/scripts/import_streams_from_xtream.py @@ -71,7 +71,7 @@ if __name__ == '__main__': stream.save() streams.append(stream) - server.add_streams(streams) + server.streams.append(streams) cursor.close() db.close()