This commit is contained in:
2021-04-28 09:29:19 +02:00
parent 84e20e54cc
commit a9f0de27e6
1030 changed files with 14567 additions and 227310 deletions

View File

@@ -105,8 +105,8 @@ def load_image(image, title = "img"):
"""
if isinstance(image, str):
try:
from startup import context
image = context.setup.expandPath(image)
from startup import expand_path
image = expand_path(image)
except:
pass
image = Utils.newImage(image)