summaryrefslogtreecommitdiff
path: root/file_utils.py
diff options
context:
space:
mode:
authorScott <[email protected]>2022-01-11 13:33:24 -0800
committerScott <[email protected]>2022-01-11 13:33:24 -0800
commitb454ad295eb3024a238d32bf2aef1ebc3c496b44 (patch)
tree89368a7cdad571da9e2c7297190fdce48eb3feb9 /file_utils.py
parentd2478310649d51e14f8ece57651ca9d925d98793 (diff)
Start using warnings from stdlib.
Diffstat (limited to 'file_utils.py')
-rw-r--r--file_utils.py1
1 files changed, 1 insertions, 0 deletions
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):