kopia lustrzana https://github.com/inkstitch/inkstitch
fix palettes path
rodzic
8608508e02
commit
7a80e59d77
|
@ -14,7 +14,7 @@ class _ThreadCatalog(Sequence):
|
||||||
|
|
||||||
def get_palettes_path(self):
|
def get_palettes_path(self):
|
||||||
if getattr(sys, 'frozen', None) is not None:
|
if getattr(sys, 'frozen', None) is not None:
|
||||||
path = sys._MEIPASS
|
path = os.path.join(sys._MEIPASS, "..")
|
||||||
else:
|
else:
|
||||||
path = dirname(dirname(dirname(realpath(__file__))))
|
path = dirname(dirname(dirname(realpath(__file__))))
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue