mirror of
https://github.com/FutaGuard/LowTechFilter.git
synced 2025-06-21 05:21:02 +08:00
🐛 action 路徑錯誤
This commit is contained in:
parent
ca22340ec6
commit
716cef714d
@ -12,7 +12,7 @@ if len(args) != 2:
|
||||
|
||||
files = args[-1]
|
||||
|
||||
with open(files, 'r') as f:
|
||||
with open(f'../{files}', 'r') as f:
|
||||
pattern = r'(?<=Version: )(\d+\.\d+\.)(\d+)'
|
||||
read_file = f.read()
|
||||
first = '\n'.join(read_file.splitlines()[:5])
|
||||
|
Loading…
x
Reference in New Issue
Block a user