Skip to content

Commit

Permalink
Adjust logging
Browse files Browse the repository at this point in the history
  • Loading branch information
cary-rowen committed Nov 17, 2024
1 parent d4cd05c commit b55aeda
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions addon/globalPlugins/objWatcher/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def _getMultiPressTimeout(self):
else:
timeout_ms = 1000
except Exception as e:
log.debug("Failed to get multiPressTimeout from config: %s", e)
log.warning("Failed to get multiPressTimeout from config: %s", e)
timeout_ms = 1000
return timeout_ms / 1000

Expand All @@ -229,7 +229,6 @@ def _getMultiPressTimeout(self):
def script_DeleteLastChecked(self, gesture):
currentTime = time.time()
multiPressTimeout = self._getMultiPressTimeout()
log.info("multi timeout %s", multiPressTimeout)
isDoublePress = (
gesture.mainKeyName == self.lastKeyName and (currentTime - self.lastKeyTime) < multiPressTimeout
)
Expand Down

0 comments on commit b55aeda

Please sign in to comment.