First pass at saving settings.

This commit is contained in:
Storm Dragon 2019-04-27 11:06:46 -04:00
parent 955ee74b47
commit b23ef94bec

View File

@ -0,0 +1,23 @@
#!/bin/python
# -*- coding: utf-8 -*-
# Fenrir TTY screen reader
# By Chrys, Storm Dragon, and contributers.
from fenrirscreenreader.core import debug
from fenrirscreenreader.core import settingsManager
class command():
def __init__(self):
pass
def initialize(self, environment):
self.env = environment
def shutdown(self):
pass
def getDescription(self):
return 'Saves your current Fenrir settings so they are the default.'
def run(self):
def saveSettings(self):
self.env['runtime']['settingsManager'].saveSettings(settingConfigPath)
def setCallback(self, callback):
pass