mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-21 07:26:18 -05:00
Channels config no longer supports favorites.
This commit is contained in:
parent
2ce62b7fc4
commit
a486a39b73
1 changed files with 0 additions and 11 deletions
|
|
@ -196,7 +196,6 @@ class ChannelsConfig(ConfigFile):
|
|||
download_frequency=604800,
|
||||
)
|
||||
},
|
||||
favorites=dict(),
|
||||
)
|
||||
|
||||
@property
|
||||
|
|
@ -207,16 +206,6 @@ class ChannelsConfig(ConfigFile):
|
|||
def channels(self, value: dict):
|
||||
self.update({'channels': value})
|
||||
|
||||
@property
|
||||
def favorites(self) -> dict:
|
||||
warnings.warn('Favorites have been moved to Tags', DeprecationWarning)
|
||||
return self._config['favorites']
|
||||
|
||||
@favorites.setter
|
||||
def favorites(self, value: dict):
|
||||
warnings.warn('Favorites have been moved to Tags', DeprecationWarning)
|
||||
self.update({'favorites': value})
|
||||
|
||||
|
||||
CHANNELS_CONFIG: ChannelsConfig = ChannelsConfig()
|
||||
TEST_CHANNELS_CONFIG: ChannelsConfig = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue