Skip to content

Commit 6f55528

Browse files
committed
bug fix installing pio developer version (issue: #201)
1 parent 03a46cb commit 6f55528

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

commands/deviot_developer_pio.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from sublime_plugin import WindowCommand
2-
from ..libraries.tools import get_setting, save_setting
2+
from ..libraries.tools import get_sysetting, save_sysetting
33
from ..platformio.update import Update
44

55
class DeviotDeveloperPio(WindowCommand):
@@ -11,10 +11,10 @@ class DeviotDeveloperPio(WindowCommand):
1111
"""
1212

1313
def run(self):
14-
pio_developer = get_setting('pio_developer', False)
15-
save_setting('pio_developer', not pio_developer)
14+
pio_developer = get_sysetting('pio_developer', False)
15+
save_sysetting('pio_developer', not pio_developer)
1616
Update().developer_async()
1717

1818

1919
def is_checked(self):
20-
return get_setting('pio_developer', False)
20+
return get_sysetting('pio_developer', False)

0 commit comments

Comments
 (0)