From: Luke Kenneth Casson Leighton Date: Thu, 30 Sep 2021 14:15:12 +0000 (+0100) Subject: varname error (extz_data not exts_data) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=963ef6ece285e6c863c91d54d0e299241c82d1ad;p=nmutil.git varname error (extz_data not exts_data) --- diff --git a/src/nmutil/extend.py b/src/nmutil/extend.py index 9bff144..c2f8e4d 100644 --- a/src/nmutil/extend.py +++ b/src/nmutil/extend.py @@ -23,7 +23,7 @@ def exts(exts_data, width, fullwidth): def extz(extz_data, width, fullwidth): diff = fullwidth-width if diff == 0: - return exts_data + return extz_data extz_data = extz_data[0:width] if diff <= 0: return extz_data[:fullwidth]