summaryrefslogtreecommitdiff
path: root/pywal/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'pywal/util.py')
-rw-r--r--pywal/util.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/pywal/util.py b/pywal/util.py
index 10fb42c..0557cc4 100644
--- a/pywal/util.py
+++ b/pywal/util.py
@@ -2,7 +2,6 @@
Misc helper functions.
"""
import colorsys
-import hashlib
import json
import logging
import os
@@ -179,14 +178,3 @@ def get_pid(name):
return False
return True
-
-
-def hashf(fpath):
- """Get the md5 hash of a file."""
- return hashlib.md5(file_bytes(open(fpath, 'rb'))).hexdigest()
-
-
-def file_bytes(fpath):
- """Helper function to read file."""
- with fpath:
- return fpath.read()