From 6ece695be4c1d2d508bd4aaebc12798ebdf9a484 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 23 Sep 2024 14:35:16 +0200 Subject: [PATCH] channel.uid --- rwx/sw/freetube/channels.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rwx/sw/freetube/channels.py b/rwx/sw/freetube/channels.py index 48f6d05..30777e9 100644 --- a/rwx/sw/freetube/channels.py +++ b/rwx/sw/freetube/channels.py @@ -14,7 +14,7 @@ class Channel(Class): :param name: label :type name: str """ - self.id = uid + self.uid = uid self.name = name def to_db(self) -> str: @@ -24,6 +24,6 @@ class Channel(Class): """ return f"""\ {{\ -"id":"{self.id}"\ +"id":"{self.uid}"\ }}\ """