proxyclient: Fix typo in LazyADT str implementation

Fix the `gstr` typo so that `print(hv.adt)` works as expected.

Signed-off-by: Danny Lin <danny@kdrag0n.dev>
This commit is contained in:
Danny Lin 2021-10-02 18:36:43 -07:00 committed by Hector Martin
parent 37e8f425bf
commit 7a29455646

View file

@ -334,7 +334,7 @@ class LazyADT:
def __delattr__(self, attr):
return delattr(self._adt, attr)
def __str__(self, t=""):
return gstr(self._adt)
return str(self._adt)
def __iter__(self):
return iter(self._adt)