diff --git a/gramps/plugins/view/mediaview.py b/gramps/plugins/view/mediaview.py index 016f9b1a6..301953284 100644 --- a/gramps/plugins/view/mediaview.py +++ b/gramps/plugins/view/mediaview.py @@ -191,7 +191,7 @@ class MediaView(ListView): None) protocol, site, mfile, j, k, l = urlparse(clean_string) if protocol == "file": - name = mfile + name = url2pathname(mfile) mime = get_type(name) if not is_valid_type(mime): return