Update
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user