From ab42b4a27d3124f2d3501d484ee690944e8e0c41 Mon Sep 17 00:00:00 2001 From: magical Date: Sat, 6 Aug 2022 06:45:40 +0000 Subject: [PATCH] use network.request --- clients/urwid/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/urwid/main.py b/clients/urwid/main.py index f81fbc7..6f10665 100644 --- a/clients/urwid/main.py +++ b/clients/urwid/main.py @@ -1172,7 +1172,7 @@ class App(object): """ self.network.user_name = None self.network.user_auth = None - self.network.user = self.network("get_me")["data"] + self.network.user = self.network.request("get_me")["data"] self.loop.widget = self.loop.widget[0] self.set_default_header() self.options_menu()