Skip to content

Commit

Permalink
json config plugin sections returns valid list
Browse files Browse the repository at this point in the history
  • Loading branch information
greghaynes committed May 27, 2010
1 parent 3b61435 commit 227ff84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyscripts/xsbs/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def pluginSections(plugin_name):
return strip_arr(session.query(ConfigOption.section).filter_by(plugin=plugin_name))

def sectionOptions(plugin_name, section):
return []
return strip_arr(session.query(ConfigOption.section).filter_by(plugin=plugin_name).filter_by(section=section))

def setOption(plugin_name, section, option, value):
pass
Expand Down

0 comments on commit 227ff84

Please sign in to comment.