Commit f77d2b1b authored by Chris Lamb's avatar Chris Lamb 💬

Fix compatibility with Python 3.7.

parent 1eea9177
......@@ -39,7 +39,7 @@ class JSONFile(File):
# Try fuzzy matching for JSON files
is_text = any(
for x in ('ASCII text', 'UTF-8 Unicode text'),
for x in ('ASCII text', 'UTF-8 Unicode text')
if is_text and not'.json'):
buf =
......@@ -109,5 +109,5 @@ class PresenterManager(object):
return any(
x['klass'].supports_visual_diffs for x in self.config.values(),
x['klass'].supports_visual_diffs for x in self.config.values()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment