mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-03 23:09:17 +02:00
10 lines
212 B
Python
10 lines
212 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()
|