mirror of
https://github.com/onyx-and-iris/nvda-addon-voicemeeter.git
synced 2026-04-19 09:33:30 +00:00
re-run through ruff formatter
This commit is contained in:
@@ -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 {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user