From 7b1ed8c0b362139d15a311ce323241c5bd598fb9 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 28 Jan 2019 22:14:00 -0800 Subject: fix rel/url order swap --- python/fatcat_tools/importers/matched.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/fatcat_tools/importers/matched.py b/python/fatcat_tools/importers/matched.py index 423c3ef3..df6ba108 100644 --- a/python/fatcat_tools/importers/matched.py +++ b/python/fatcat_tools/importers/matched.py @@ -81,7 +81,7 @@ class MatchedImporter(EntityImporter): url = make_rel_url(original, default_link_rel=self.default_link_rel) if url != None: urls.add(url) - urls = [fatcat_client.FileEntityUrls(rel, url) for (rel, url) in urls] + urls = [fatcat_client.FileEntityUrls(rel=rel, url=url) for (rel, url) in urls] if len(urls) == 0: return None -- cgit v1.2.3