From a63442f8439804c32e7abc96806177ca3032f3e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=9D=E3=83=BC=E3=83=AB=20=E3=82=A6=E3=82=A7=E3=83=83?= =?UTF-8?q?=E3=83=96?= Date: Fri, 12 Apr 2019 09:34:58 -0400 Subject: [PATCH] Fixes and updated gitignore --- .gitignore | 1 + lbrynet/extras/daemon/Daemon.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 758ec3cd4..50534478f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.DS_Store /build /dist /.tox diff --git a/lbrynet/extras/daemon/Daemon.py b/lbrynet/extras/daemon/Daemon.py index 3ec05a040..04154fb7b 100644 --- a/lbrynet/extras/daemon/Daemon.py +++ b/lbrynet/extras/daemon/Daemon.py @@ -1605,7 +1605,7 @@ class Daemon(metaclass=JSONRPCServerType): #sort_claim_results(claims) return {"items": claims, "total_pages": total_pages, "page": page, "page_size": page_size} else: - raise Exception("Must specify either name, claimd_id, or txid:nout.") + raise Exception("Must specify either name, claim_id, or txid:nout.") if claims: resolutions = await self.resolve(*(f"{claim['name']}#{claim['claim_id']}" for claim in claims['claims'])) claims = [value.get('claim', value.get('certificate')) for value in resolutions.values()] @@ -3136,7 +3136,7 @@ class Daemon(metaclass=JSONRPCServerType): } """ # Should be like this: - # comment list [claimd_id] [parent_comment_id] --flat --page=1 --page-size=10 + # comment list [claim_id] [parent_comment_id] --flat --page=1 --page-size=10 url = self.conf.comment_server # The server uses permanent URIs for keys; not claims. # This is temporary until we can get that functionality removed