Skip to content

Commit 2e565ae

Browse files
Merge pull request #14 from benevolent0377/Ucore-patches
Check and create corePATH directory if missing
2 parents 85faf20 + 9f77901 commit 2e565ae

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

update/Ucore.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ def update():
4747
altered = True
4848

4949
return altered
50+
def exists(File):
51+
52+
if os.path.isfile(File):
53+
54+
return True
55+
56+
return False
5057

5158
def mkFile(File):
5259
with open(File, "x") as file:

0 commit comments

Comments
 (0)