IndigoDomotics / indigo-pushover

Indigo plugin to send push notifications via Pushover.
MIT License
17 stars 11 forks source link

Can't delete token #34

Closed markaslett closed 2 years ago

markaslett commented 2 years ago

Flying Diver,

I am using the latest version of Pushover 1.7.1

I created a second Indigo app token by error. When I try to delete it using the MANAGE APP TOKEN menu item in the plugin, I get the following error:

Mar 26, 2022 at 9:04:03 PM Pushover Deleting Token KEY_TOKEN_TO_BE_DELETED Pushover Error Error in plugin execution UiAction:

Traceback (most recent call last): File "plugin.py", line 190, in deleteTokens KeyError: (KEY_TOKEN_TO_BE_DELETED)

Many thanks, Mark

FlyingDiver commented 2 years ago

There's something very broken in that code. The easiest way to fix it is to disable the plugin and delete the preferences file, then re-enable the plugin.

markaslett commented 2 years ago

Thanks Joe. That took care of the issue. Much appreciated. Mark

Sent from my iPhone

On Mar 26, 2022, at 9:32 PM, Joe Keenan @.***> wrote:

 There's something very broken in that code. The easiest way to fix it is to disable the plugin and delete the preferences file, then re-enable the plugin.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.