diff --git a/uncompyle6/scanners/scanner34.py b/uncompyle6/scanners/scanner34.py index d6ed942a..f429f662 100644 --- a/uncompyle6/scanners/scanner34.py +++ b/uncompyle6/scanners/scanner34.py @@ -98,7 +98,7 @@ class Scanner34(scan3.Scanner3): # other than LOAD_CONST, but we'll start out with just this for now. if opname in ['LOAD_CONST']: const = inst.argval - if hasattr(const, 'co_name')): + if hasattr(const, 'co_name'): if const.co_name == '': opname = 'LOAD_LAMBDA' elif const.co_name == '':