mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-10 21:55:11 +01:00
Check prop existence
This commit is contained in:
parent
0f0bdac693
commit
59893faa94
5
.github/workflows/magisk.yml
vendored
5
.github/workflows/magisk.yml
vendored
@ -424,7 +424,7 @@ jobs:
|
||||
run: |
|
||||
from __future__ import annotations
|
||||
from io import TextIOWrapper
|
||||
from os import system
|
||||
from os import system, path
|
||||
from typing import OrderedDict
|
||||
|
||||
|
||||
@ -466,6 +466,9 @@ jobs:
|
||||
|
||||
|
||||
def fix_prop(sec, prop):
|
||||
if not path.exists(prop):
|
||||
return
|
||||
|
||||
print(f"fixing {prop}", flush=True)
|
||||
with open(prop, 'r') as f:
|
||||
p = Prop(f)
|
||||
|
Loading…
Reference in New Issue
Block a user