diff --git a/examples/max_pain.py b/examples/max_pain.py index 36691889..e0f444a7 100755 --- a/examples/max_pain.py +++ b/examples/max_pain.py @@ -54,9 +54,13 @@ async def max_pain_daemon( kind=kind ) - print(f'Available expiration dates for {currency}-{kind}:') - print(f'{expiry_dates}') - expiry_date = input('Please enter a valid expiration date: ').upper() + log.info( + f'Available expiries for {currency!r}-{kind}:\n' + f'{expiry_dates}\n' + ) + expiry_date: str = input( + 'Please enter a valid expiration date: ' + ).upper() print('Starting little daemon...') # maybe move this type annot down to the assignment line?