From de3642a9ea8cbbfc146d8ac20a3bb7f37c1b548f Mon Sep 17 00:00:00 2001 From: Joakim Plate Date: Tue, 20 Apr 2021 19:31:35 +0200 Subject: [PATCH] Fix main get --- haphilipsjs/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/haphilipsjs/__main__.py b/haphilipsjs/__main__.py index a6ad1a8..6529561 100644 --- a/haphilipsjs/__main__.py +++ b/haphilipsjs/__main__.py @@ -262,11 +262,11 @@ async def main(): print(f"Password: {res[1]}") elif args.command == "get": - res = await tv._getReq(args.path) + res = await tv.getReq(args.path) print(res) elif args.command == "post": - res = await tv._postReq(args.path, literal_eval(args.data)) + res = await tv.postReq(args.path, literal_eval(args.data)) print(res) elif args.command == "markdown":