mirror of
https://github.com/TriM-Organization/Linglun-Converter.git
synced 2026-01-10 13:51:54 +00:00
喵
This commit is contained in:
@@ -26,6 +26,8 @@ def main():
|
||||
):
|
||||
if os.path.isdir(file) and os.access(file, os.W_OK):
|
||||
shutil.rmtree(file)
|
||||
elif os.path.isfile(file) and os.access(file, os.W_OK):
|
||||
os.remove(file)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user