summaryrefslogtreecommitdiff
path: root/pywal/util.py
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-08-10 09:17:11 +1000
committerDylan Araps <dylan.araps@gmail.com>2017-08-10 09:17:11 +1000
commit05c271c3a7faf0e31c28df4a7743c8ce4369c670 (patch)
tree4a415c27c24f9441e49f7339847e17c002623376 /pywal/util.py
parent979ec3ee1025e90c536ec013aa8b8fa29bed3a21 (diff)
general: Remove all pathlib usage
Diffstat (limited to 'pywal/util.py')
-rw-r--r--pywal/util.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pywal/util.py b/pywal/util.py
index 707b3d2..832ac5f 100644
--- a/pywal/util.py
+++ b/pywal/util.py
@@ -3,7 +3,6 @@ Misc helper functions.
"""
import json
import os
-import pathlib
import subprocess
@@ -78,7 +77,7 @@ def save_file_json(data, export_file):
def create_dir(directory):
"""Alias to create the cache dir."""
- pathlib.Path(directory).mkdir(parents=True, exist_ok=True)
+ os.makedirs(directory, exist_ok=True)
def hex_to_rgb(color):