From a99d8da0b4e2760d2e603bc660f79766c99afded Mon Sep 17 00:00:00 2001 From: rocky Date: Thu, 6 Feb 2020 05:10:57 -0500 Subject: [PATCH] Fix Recent CI bug --- uncompyle6/semantics/pysource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uncompyle6/semantics/pysource.py b/uncompyle6/semantics/pysource.py index 9f24503b..87b1c771 100644 --- a/uncompyle6/semantics/pysource.py +++ b/uncompyle6/semantics/pysource.py @@ -2297,7 +2297,7 @@ class SourceWalker(GenericASTTraversal, object): pass have_qualname = False - if len(ast[0]): + if len(ast): if ast[0] == "sstmt": ast[0] = ast[0][0] first_stmt = ast[0]