summaryrefslogtreecommitdiff
path: root/scss/source.py
diff options
context:
space:
mode:
authorEevee (Alex Munroe) <eevee.git@veekun.com>2014-08-24 14:55:14 -0700
committerEevee (Alex Munroe) <eevee.git@veekun.com>2014-08-24 14:55:14 -0700
commit5b50706d09df29979b22319a3109b51c0b5cef7b (patch)
tree786e68e28ef859c89cf1896fed6f6c2b5a830ace /scss/source.py
parentb84f9dd233ccb76542d393f531411a28cc14a0c3 (diff)
downloadpyscss-5b50706d09df29979b22319a3109b51c0b5cef7b.tar.gz
Fix a couple oopses on Python 3.
Diffstat (limited to 'scss/source.py')
-rw-r--r--scss/source.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/source.py b/scss/source.py
index 8f68819..74a6937 100644
--- a/scss/source.py
+++ b/scss/source.py
@@ -143,7 +143,7 @@ class SourceFile(object):
if path is None:
m = hashlib.sha256()
m.update(byte_contents)
- path = 'string:' + m.hexdigest().decode('ascii')
+ path = 'string:' + m.hexdigest()
elif os.path.exists(path):
path = os.path.normpath(os.path.abspath(path))
is_real_file = True