forked from kate/uniborg
Use per-instance path for persistent storage
This commit is contained in:
parent
5310c55a93
commit
694048ecfc
|
@ -70,7 +70,7 @@ class Uniborg(TelegramClient):
|
||||||
|
|
||||||
mod.borg = self
|
mod.borg = self
|
||||||
mod.logger = logging.getLogger(shortname)
|
mod.logger = logging.getLogger(shortname)
|
||||||
mod.storage = self.storage(shortname)
|
mod.storage = self.storage(f"{self._name}/{shortname}")
|
||||||
|
|
||||||
spec.loader.exec_module(mod)
|
spec.loader.exec_module(mod)
|
||||||
self._plugins[shortname] = mod
|
self._plugins[shortname] = mod
|
||||||
|
|
Loading…
Reference in New Issue