1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-16 01:00:42 +03:00

EDMarketConnector: Remove call to deprecated config.getpassword()

This commit is contained in:
Athanasius 2021-03-22 12:49:13 +00:00
parent 55f1e11f0b
commit a038b30855

View File

@ -224,6 +224,7 @@ if TYPE_CHECKING:
"""Fake the l10n translation functions for typing."""
return x
if getattr(sys, 'frozen', False):
# Under py2exe sys.path[0] is the executable name
if platform == 'win32':
@ -532,11 +533,6 @@ class AppWindow(object):
self.updater = update.Updater(tkroot=self.w, provider='internal')
self.updater.checkForUpdates() # Sparkle / WinSparkle does this automatically for packaged apps
try:
config.get_password('') # Prod SecureStorage on Linux to initialise
except RuntimeError:
pass
# Migration from <= 3.30
for username in config.get('fdev_usernames') or []:
config.delete_password(username)