From 4788f1da5d809bd88f2a5bb26f3f121774e79bb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=AE=D1=80=D0=B8=D0=B9=20=D0=9F=D0=B0=D0=B9=D0=BA=D0=BE?= =?UTF-8?q?=D0=B2?= Date: Sat, 5 Dec 2020 16:51:14 +0500 Subject: [PATCH] Fix windows path problem --- print.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/print.py b/print.py index 178451f..57fd7d6 100644 --- a/print.py +++ b/print.py @@ -55,7 +55,7 @@ def _handle_browse_result(self, filename: Optional[str]): if not filename: return - self.file = Path(filename).resolve() + self.file = Path(filename) self.wb = openpyxl.open(self.file) self.ws = self.wb.active