create user extensions directory if not exists
This commit is contained in:
parent
6b3981c068
commit
23a9d5e273
@ -10,6 +10,8 @@ extensions = []
|
|||||||
extensions_dir = os.path.join(paths.data_path, "extensions")
|
extensions_dir = os.path.join(paths.data_path, "extensions")
|
||||||
extensions_builtin_dir = os.path.join(paths.script_path, "extensions-builtin")
|
extensions_builtin_dir = os.path.join(paths.script_path, "extensions-builtin")
|
||||||
|
|
||||||
|
if not os.path.exists(extensions_dir):
|
||||||
|
os.makedirs(extensions_dir)
|
||||||
|
|
||||||
def active():
|
def active():
|
||||||
return [x for x in extensions if x.enabled]
|
return [x for x in extensions if x.enabled]
|
||||||
|
Loading…
Reference in New Issue
Block a user