1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-07 02:30:38 +00:00

transformations first steps

This commit is contained in:
deadc0de6
2018-02-07 10:21:15 +01:00
parent fa62ffeef7
commit ef1fffd1a1
4 changed files with 28 additions and 2 deletions

View File

@@ -38,6 +38,10 @@ def get_tmpdir():
return tempfile.mkdtemp(prefix='dotdrop-')
def get_tmpfile():
return tempfile.mkstemp(prefix='dotdrop-')
def remove(path):
''' Remove a file / directory / symlink '''
if not os.path.exists(path):