Skip to content

Commit

Permalink
Update headsetcontrol-qt.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Odizinne authored Aug 15, 2024
1 parent 9f533db commit b89fde9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/headsetcontrol-qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,15 @@ def create_default_settings(self):
settings = {
"led_state": True,
"light_battery_threshold": 20,
"light_battery_threshold" "sidetone": 0,
"notification_battery_threshold": 20,
"sidetone": 0,
"theme": "System",
}
with open(SETTINGS_FILE, "w") as f:
json.dump(settings, f, indent=4)



def update_headset_info(self):
command = [HEADSETCONTROL_EXECUTABLE, "-o", "json"]
creation_flags = subprocess.CREATE_NO_WINDOW if sys.platform == "win32" else 0
Expand Down

0 comments on commit b89fde9

Please sign in to comment.