summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--project.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/project.py b/project.py
index cbc3c219..dec21ab1 100644
--- a/project.py
+++ b/project.py
@@ -2274,7 +2274,7 @@ class Project(object):
2274 p.stderr)) 2274 p.stderr))
2275 r = p.stdout 2275 r = p.stdout
2276 try: 2276 try:
2277 r = r.decode() 2277 r = r.decode('utf-8')
2278 except AttributeError: 2278 except AttributeError:
2279 pass 2279 pass
2280 if r.endswith('\n') and r.index('\n') == len(r) - 1: 2280 if r.endswith('\n') and r.index('\n') == len(r) - 1: