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:
parent
55f1e11f0b
commit
a038b30855
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user