Force instance ID to be lowercase when updating
This commit is contained in:
parent
1214c54c35
commit
79fe991daf
@ -222,7 +222,7 @@ class PluginInstance:
|
|||||||
|
|
||||||
def update_id(self, new_id: str) -> None:
|
def update_id(self, new_id: str) -> None:
|
||||||
if new_id is not None and new_id != self.id:
|
if new_id is not None and new_id != self.id:
|
||||||
self.db_instance.id = new_id
|
self.db_instance.id = new_id.lower()
|
||||||
|
|
||||||
def update_config(self, config: str) -> None:
|
def update_config(self, config: str) -> None:
|
||||||
if not config or self.db_instance.config == config:
|
if not config or self.db_instance.config == config:
|
||||||
|
Loading…
Reference in New Issue
Block a user