From 7b1f0d4d5722cd87f21b6b1cfe0a74afa02c60b6 Mon Sep 17 00:00:00 2001 From: wangweiye7840 Date: Fri, 15 Mar 2024 13:40:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E4=B8=80=E9=A2=98=E5=8F=B7=E8=BD=AC?= =?UTF-8?q?=E4=B8=BA=E5=9B=BE=E7=89=87=E5=8A=9F=E8=83=BD=E9=80=82=E9=85=8D?= =?UTF-8?q?macOS=E5=92=8CLinux=E7=B3=BB=E7=BB=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 工具v2/单一题号转为图片.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/工具v2/单一题号转为图片.py b/工具v2/单一题号转为图片.py index bf43e41d..43d03c83 100644 --- a/工具v2/单一题号转为图片.py +++ b/工具v2/单一题号转为图片.py @@ -37,7 +37,7 @@ class MyWindow(QWidget,Ui_Form): os.chdir("../..") self.pushButton_open.setEnabled(True) def open(self): - os.startfile(os.path.join("临时文件/pics", f"ID{self.id}-{self.dpi}-{self.time}-1.png")) + startfile(os.path.join("临时文件/pics", f"ID{self.id}-{self.dpi}-{self.time}-1.png")) def toggleopen(self): self.pushButton_open.setDisabled(True)