From ea7b5fc0fbfa46feea50305ccc8749d94bc2f4bb Mon Sep 17 00:00:00 2001 From: Bridget Date: Wed, 15 Apr 2020 00:21:43 +0200 Subject: [PATCH] Fix return type hint --- lslsh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lslsh.py b/lslsh.py index aa0055b..8691472 100755 --- a/lslsh.py +++ b/lslsh.py @@ -44,7 +44,7 @@ class Shell(cmd.Cmd): def emptyline(self): return None - def pretty_print(self, data: Union[str, Dict, List]) -> str: + def pretty_print(self, data: Union[str, Dict, List]) -> Union[str, Dict, List]: """Attempt to pretty-print the input data.""" try: if isinstance(data, list) and isinstance(data[0], dict):