decred / tinydecred

Python tools for Decred
ISC License
27 stars 14 forks source link

app: Check for assetScreen on shutdown. #171

Closed JoeGruffins closed 4 years ago

JoeGruffins commented 4 years ago

Otherwise you may call shutdown on a non-existant attribute.

If you start up the app and close it without making a wallet, you will see this error currently:

Traceback (most recent call last):
  File "tinywallet/app.py", line 155, in shutdown
    if self.assetScreen is not None:
AttributeError: 'TinyWallet' object has no attribute 'assetScreen'
buck54321 commented 4 years ago

Little conflict to resolve.