mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-05 18:03:17 +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."""
|
"""Fake the l10n translation functions for typing."""
|
||||||
return x
|
return x
|
||||||
|
|
||||||
|
|
||||||
if getattr(sys, 'frozen', False):
|
if getattr(sys, 'frozen', False):
|
||||||
# Under py2exe sys.path[0] is the executable name
|
# Under py2exe sys.path[0] is the executable name
|
||||||
if platform == 'win32':
|
if platform == 'win32':
|
||||||
@ -532,11 +533,6 @@ class AppWindow(object):
|
|||||||
self.updater = update.Updater(tkroot=self.w, provider='internal')
|
self.updater = update.Updater(tkroot=self.w, provider='internal')
|
||||||
self.updater.checkForUpdates() # Sparkle / WinSparkle does this automatically for packaged apps
|
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
|
# Migration from <= 3.30
|
||||||
for username in config.get('fdev_usernames') or []:
|
for username in config.get('fdev_usernames') or []:
|
||||||
config.delete_password(username)
|
config.delete_password(username)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user