From 021ad2d5de6919c4b48cbd80aca39478a8a42f5d Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sat, 17 Jun 2023 00:54:29 +0800 Subject: [PATCH] add compat for workflow --- .github/workflows/get_info.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/get_info.py b/.github/workflows/get_info.py index 0f39923..120fd46 100644 --- a/.github/workflows/get_info.py +++ b/.github/workflows/get_info.py @@ -10,13 +10,10 @@ import rtoml sys.path.append(os.path.abspath(os.curdir)) -from Difficult_Rocket import DR_runtime +from Difficult_Rocket.runtime import DR_runtime args = ['-env', '-github-dev'] -# print(sys.argv) - - if sys.argv == [__file__]: # 没有输入参数,直接输出默认信息并输出 print(sys.version)