Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devbot/state.py
diff options
context:
space:
mode:
Diffstat (limited to 'devbot/state.py')
-rw-r--r--devbot/state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/devbot/state.py b/devbot/state.py
index 0a6f7b9..0335b0c 100644
--- a/devbot/state.py
+++ b/devbot/state.py
@@ -117,4 +117,4 @@ def _compute_mtime_hash(path):
if ".git" in dirs:
dirs.remove(".git")
- return hashlib.sha256(data).hexdigest()
+ return hashlib.sha256(data.encode('utf-8')).hexdigest()