X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;ds=inline;f=file_utils.py;h=176b0dab055f1447ad8ac5a0d67ce073be7deb7c;hb=559c60c169223c7c6833e9beedf978a8ffdd3926;hp=67e6f561f394e1a99c4ace7bb2f6ddbe733ea011;hpb=eb9e6df32ed696158bf34dba6464277b648f5c74;p=python_utils.git diff --git a/file_utils.py b/file_utils.py index 67e6f56..176b0da 100644 --- a/file_utils.py +++ b/file_utils.py @@ -20,6 +20,7 @@ logger = logging.getLogger(__name__) # os.remove(file) you fuckwit. +# os.path.basename too. def create_path_if_not_exist(path, on_error=None):