forked from LBRYCommunity/lbry-sdk
lint
This commit is contained in:
parent
8fa2d746e7
commit
747eace4ab
2 changed files with 5 additions and 2 deletions
|
@ -216,7 +216,7 @@ def set_kwargs(parsed_args):
|
|||
|
||||
|
||||
def install_systemd_service():
|
||||
SYSTEMD_SERVICE = textwrap.dedent(f"""\
|
||||
systemd_service = textwrap.dedent(f"""\
|
||||
[Unit]
|
||||
Description=LBRYnet
|
||||
|
||||
|
@ -226,7 +226,7 @@ def install_systemd_service():
|
|||
""")
|
||||
subprocess.run(
|
||||
["systemctl", "edit", "--user", "--full", "--force", "lbrynet.service"],
|
||||
input=SYSTEMD_SERVICE, text=True,
|
||||
input=systemd_service, text=True, check=True,
|
||||
env=dict(os.environ, SYSTEMD_EDITOR="cp /dev/stdin"),
|
||||
)
|
||||
|
||||
|
|
|
@ -37,3 +37,6 @@ class LightClient(Service):
|
|||
|
||||
async def search_claims(self, accounts, **kwargs):
|
||||
pass
|
||||
|
||||
async def search_supports(self, accounts, **kwargs):
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue