Skip to content

Commit

Permalink
further refactoring/typing of FAUcardPaymentThread.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mcx16 authored and mgmax committed Feb 16, 2024
1 parent 3de5098 commit 1e32861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FabLabKasse/faucardPayment/FAUcardPaymentThread.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ def _decrease_balance(self) -> int:
# if connection lost (1.b)
if lost:
logging.warning("FAUcard: connection lost (1.b)")
value = []
value: Optional[magpos.LastTransactionResult] = None
while lost:
lost = False

Expand Down

0 comments on commit 1e32861

Please sign in to comment.