kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
9 wiersze
211 B
Python
9 wiersze
211 B
Python
![]() |
import persisting_theory
|
||
|
|
||
|
class RadioRegistry(persisting_theory.Registry):
|
||
|
def prepare_name(self, data, name=None):
|
||
|
setattr(data, 'radio_type', name)
|
||
|
return name
|
||
|
|
||
|
registry = RadioRegistry()
|