add win platform code

This commit is contained in:
danamir
2021-06-23 07:31:09 +03:00
parent 129f6b6d63
commit d2facc93b0

View File

@@ -40,8 +40,12 @@ class SecondPageFrame(wx.Frame):
self.runPath = os.path.abspath(__file__)
print(self.runPath)
if platform.system() == "Windows":
self.imgPath = "..\\img\\"
self.delitel = "\\"
self.imgPath = self.runPath[:-17] + "img" + self.delitel
print(self.imgPath)
self.__set_properties()