summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xproject.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/project.py b/project.py
index e0419e7a..67d3bb20 100755
--- a/project.py
+++ b/project.py
@@ -2261,8 +2261,8 @@ class Project(object):
2261 2261
2262 def _IsValidBundle(self, path, quiet): 2262 def _IsValidBundle(self, path, quiet):
2263 try: 2263 try:
2264 with open(path) as f: 2264 with open(path, 'rb') as f:
2265 if f.read(16) == '# v2 git bundle\n': 2265 if f.read(16) == b'# v2 git bundle\n':
2266 return True 2266 return True
2267 else: 2267 else:
2268 if not quiet: 2268 if not quiet: