We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e94cb00 commit 29d5c24Copy full SHA for 29d5c24
src/resource.py
@@ -8,7 +8,7 @@
8
9
class Res:
10
def __init__(self) -> None:
11
- self.f_path = path.dirname(__file__) # 当前程序运行所在的绝对目录
+ self.f_path = path.dirname(path.abspath(__file__)) # 当前程序运行所在的绝对目录
12
config_path = self.f_path+'/config.json'
13
ranking_path = self.f_path+'/ranking.json'
14
default_config = { # 默认配置文件
0 commit comments