re-run through ruff formatter

This commit is contained in:
2025-01-23 20:04:48 +00:00
parent 1b5cfacf4f
commit b090c359b4
9 changed files with 94 additions and 94 deletions

View File

@@ -3,10 +3,10 @@ from pathlib import Path
def config_from_json():
pn = Path.home() / "Documents" / "Voicemeeter" / "nvda_settings.json"
pn = Path.home() / 'Documents' / 'Voicemeeter' / 'nvda_settings.json'
data = None
if pn.exists():
with open(pn, "r") as f:
with open(pn, 'r') as f:
data = json.load(f)
return data or {}