1
0

small fixes

This commit is contained in:
Sander van Grieken
2023-08-04 13:05:56 +02:00
parent fd28c66670
commit 3c232d70d1
2 changed files with 2 additions and 4 deletions

View File

@@ -222,6 +222,8 @@ class QSignalObject(PluginQObject):
@pyqtSlot(str, int)
def checkOtp(self, short_id, otp):
assert type(otp) is int # make sure this doesn't fail subtly
def check_otp_task():
try:
self.plugin.logger.debug(f'check OTP, shortId={short_id}, otp={otp}')