bug fix installing pio developer version (issue: https://github.com/gepd/Deviot/issues/201)
from sublime_plugin import WindowCommand
-from ..libraries.tools import get_setting, save_setting
+from ..libraries.tools import get_sysetting, save_sysetting
from ..platformio.update import Update
class DeviotDeveloperPio(WindowCommand):
@@ -11,10 +11,10 @@ class DeviotDeveloperPio(WindowCommand):
"""
def run(self):
- pio_developer = get_setting('pio_developer', False)
- save_setting('pio_developer', not pio_developer)
+ pio_developer = get_sysetting('pio_developer', False)
+ save_sysetting('pio_developer', not pio_developer)
Update().developer_async()
def is_checked(self):
- return get_setting('pio_developer', False)
\ No newline at end of file
+ return get_sysetting('pio_developer', False)
\ No newline at end of file
