From f5fb7e6547f9494ea7a2afb4a78b520df5180c74 Mon Sep 17 00:00:00 2001 From: Florent Peyraud Date: Wed, 21 Dec 2022 23:06:30 +0100 Subject: [PATCH] Fix undefined symbol when using ProcessNullUpdates in configuration file --- apis/pypad/api/pypad.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apis/pypad/api/pypad.py b/apis/pypad/api/pypad.py index f5a6f16c..67e76263 100644 --- a/apis/pypad/api/pypad.py +++ b/apis/pypad/api/pypad.py @@ -725,11 +725,11 @@ class Update(object): if self.__config.get(section,'ProcessNullUpdates')=='0': result=result and True if self.__config.get(section,'ProcessNullUpdates')=='1': - result=result and self.hasPadType(pypad.TYPE_NOW) + result=result and self.hasPadType(TYPE_NOW) if self.__config.get(section,'ProcessNullUpdates')=='2': - result=result and self.hasPadType(pypad.TYPE_NEXT) + result=result and self.hasPadType(TYPE_NEXT) if self.__config.get(section,'ProcessNullUpdates')=='3': - result=result and self.hasPadType(pypad.TYPE_NOW) and self.hasPadType(pypad.TYPE_NEXT) + result=result and self.hasPadType(TYPE_NOW) and self.hasPadType(TYPE_NEXT) else: result=result and True