Move bot_picture.py inside the extension
This commit is contained in:
parent
5ac24b019e
commit
91f5852245
3 changed files with 15 additions and 18 deletions
|
@ -33,10 +33,11 @@ def apply_extensions(text, typ):
|
|||
def create_extensions_block():
|
||||
# Updating the default values
|
||||
for extension, name in iterator():
|
||||
for param in extension.params:
|
||||
_id = f"{name}-{param}"
|
||||
if _id in shared.settings:
|
||||
extension.params[param] = shared.settings[_id]
|
||||
if hasattr(extension, 'params'):
|
||||
for param in extension.params:
|
||||
_id = f"{name}-{param}"
|
||||
if _id in shared.settings:
|
||||
extension.params[param] = shared.settings[_id]
|
||||
|
||||
# Creating the extension ui elements
|
||||
for extension, name in iterator():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue