Merge branch 'Nudin-patch-1' of https://github.com/Nudin/kitty

This commit is contained in:
Kovid Goyal 2020-02-09 08:03:06 +05:30
commit d54d29122d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -89,5 +89,5 @@ def marker_from_spec(ftype, spec, flags):
path = spec path = spec
if not os.path.isabs(path): if not os.path.isabs(path):
path = os.path.join(config_dir, path) path = os.path.join(config_dir, path)
return marker_from_function(runpy.run_path(path, run_name='__marker__').marker) return marker_from_function(runpy.run_path(path, run_name='__marker__')["marker"])
raise ValueError('Unknown marker type: {}'.format(ftype)) raise ValueError('Unknown marker type: {}'.format(ftype))