mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Shorten line for black -_-
This commit is contained in:
parent
07aea3985a
commit
2cb1695fb1
@ -585,7 +585,7 @@ class QSettingsWidget(QtWidgets.QWizardPage, SettingsContainer):
|
||||
default_zip_path = sd / "Default.zip"
|
||||
if default_zip_path.exists():
|
||||
with zipfile.ZipFile(default_zip_path, "r") as zf:
|
||||
filename = [name for name in zf.namelist() if name.lower() == "default.json"]
|
||||
filename = [n for n in zf.namelist() if n.lower() == "default.json"]
|
||||
if filename:
|
||||
filename = filename[0]
|
||||
settings_data = json.loads(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user