fix: protect touch

This commit is contained in:
Starnakin 2025-05-22 17:53:05 +02:00
parent df05678ddc
commit 69023f1917

View File

@ -32,6 +32,8 @@ class Path():
return self._name
def touch(self) -> None:
if (self.exist()):
return None
open(self.get_absolute_path(), "w+").close()
def create(self) -> None: