1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-14 08:17:13 +03:00

renamed variables to reduce ambiguity

This commit is contained in:
A_D 2020-09-12 18:05:11 +02:00
parent df554ec8b3
commit f9f6907a2c
No known key found for this signature in database
GPG Key ID: 4BE9EB7DF45076C4

View File

@ -495,7 +495,7 @@ class PreferencesDialog(tk.Toplevel):
current_loglevel = logging.getLevelName(logging.INFO)
self.select_loglevel = tk.StringVar(value=str(current_loglevel))
loglevels = [
logging.getLevelName(l) for l in (
logging.getLevelName(level) for level in (
logging.CRITICAL, logging.ERROR, logging.WARNING, logging.INFO, logging.DEBUG
)
]
@ -781,8 +781,8 @@ class PreferencesDialog(tk.Toplevel):
mustexist=tk.TRUE
)
if d:
pathvar.set(d)
if directory:
pathvar.set(directory)
self.outvarchanged()
def displaypath(self, pathvar: tk.StringVar, entryfield: tk.Entry) -> None: