projects
/
music-assistant-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e21e10f
)
Fix error on empty username in config (#340)
author
Marcel van der Veldt
<m.vanderveldt@outlook.com>
Tue, 24 May 2022 18:37:14 +0000
(20:37 +0200)
committer
GitHub
<noreply@github.com>
Tue, 24 May 2022 18:37:14 +0000
(20:37 +0200)
music_assistant/models/config.py
patch
|
blob
|
history
diff --git
a/music_assistant/models/config.py
b/music_assistant/models/config.py
index a5680d290b0569a4295d668b3498075f58b529aa..48b1f6d196ee6c53d1bced70b7ea1b4c909c7bb1 100644
(file)
--- a/
music_assistant/models/config.py
+++ b/
music_assistant/models/config.py
@@
-32,7
+32,7
@@
class MusicProviderConfig:
) + base_str[-1]
super().__setattr__("id", prov_id)
elif not self.id:
- s
elf.id = self.type.value
+ s
uper().__setattr__("id", self.type.value)
@dataclass(frozen=True)