From e1580011299f3dddf09098e5fad9779110d477a3 Mon Sep 17 00:00:00 2001 From: Eva Anker <5946438+eanker@users.noreply.github.com> Date: Fri, 16 Sep 2022 18:23:52 +0200 Subject: [PATCH] Fixed typo and added A2 support to README --- .gitignore | 2 ++ README.md | 2 +- SoundcoreDesktop.py | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..29b9a40 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +__pycache__/* +lastConnect.json \ No newline at end of file diff --git a/README.md b/README.md index 2a7f382..96e5ebc 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This is an **unofficial** API for the Anker SoundCore Life Headphones. I am not partnered with Soundcore or Anker in any way. ## Supported Devices -The Anker Soundcore Life Q30 is the only device I currently own, making me only able to test this one. However, other devices such as the Q35 should still work properly despite this. If not, feel free to report an Issue or send a Pull Request. +The Anker Soundcore Life Q30 is the only device I currently own, making me only able to test this one. However, other devices such as the Q35 and A2 should still work properly despite this. If not, feel free to report an Issue or send a Pull Request. ## Requirements - Python 3 (both the API and the application) diff --git a/SoundcoreDesktop.py b/SoundcoreDesktop.py index 20b076f..c4bea3a 100644 --- a/SoundcoreDesktop.py +++ b/SoundcoreDesktop.py @@ -130,7 +130,7 @@ def removeImg(): text = { "ANC Outdoor": "Reduce ambient sound on-the-go for quieter city spaces", "ANC Trans": "Targets low-end frequencies like engine and road noise for serene journeys and commutes.", - "ANC INDOOR": "Eliminate voices and mid-frequency noise from coffee shaps and other inside spaces." + "ANC INDOOR": "Eliminate voices and mid-frequency noise from coffee shops and other inside spaces." } def forgetANCWegets(): @@ -170,7 +170,7 @@ def getAction(data=None): label.configure(image=image) Headphone.ANC("ANC Transport") elif data == 2: - Modeinfo.configure(text="Eliminate voices and mid-frequency noise from\n coffee shaps and other inside spaces.") + Modeinfo.configure(text="Eliminate voices and mid-frequency noise from\n coffee shops and other inside spaces.") image = tkinter.PhotoImage(file="Images//ANC//a3951_img_indoor.png") image = image.subsample(3,3) label.configure(image=image)