Now using absolute path
This commit is contained in:
parent
242e7acd09
commit
c33a34f9d8
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ from settings import font_boldness
|
||||||
import os
|
import os
|
||||||
im_open = Image.open
|
im_open = Image.open
|
||||||
|
|
||||||
path = os.path.dirname(os.path.relpath(__file__)).replace("\\", "/")
|
path = os.path.dirname(os.path.abspath(__file__)).replace("\\", "/")
|
||||||
if path != "" and path[-1] != "/":
|
if path != "" and path[-1] != "/":
|
||||||
path += "/"
|
path += "/"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue