Fix typo screensaver

This commit is contained in:
angelblue05 2016-11-02 21:24:58 -05:00
parent 7f2eb13f9a
commit fd3c21d6c8

View file

@ -227,7 +227,7 @@ def querySQL(query, args=None, cursor=None, conntype=None):
def getScreensaver(): def getScreensaver():
# Get the current screensaver value # Get the current screensaver value
result = JSONRPC('Settings.getSettingValues').execute({'setting': "screensaver.mode"}) result = JSONRPC('Settings.getSettingValue').execute({'setting': "screensaver.mode"})
try: try:
return result['result']['value'] return result['result']['value']
except KeyError: except KeyError: