Skip to content

Commit

Permalink
Issue with configuration update with keyword args after adding multi-…
Browse files Browse the repository at this point in the history
…account support.
  • Loading branch information
zSeriesGuy committed Jul 27, 2020
1 parent 6426d05 commit c3f896f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## v4.1.01 (2020-07-27)
* (FIXED) Issue with configuration update with keyword args after adding multi-account support.

## v4.1.00 (2020-05-22)
* (NEW) Support for multiple Plex.TV accounts.
* (NEW) Added ability to start/stop server monitoring from dashboard server status.
Expand Down
2 changes: 1 addition & 1 deletion data/interfaces/default/js/tables/accounts_table.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ accounts_table_options = {
"createdCell": function (td, cellData, rowData, row, col) {
var checked = (rowData['isAdmin']) ? 'CHECKED' : '';
$(td).html(
'<input type="checkbox" class="isAdmin" id="isAdmin" name="isAdmin" data-token="' + rowData['usertoken'] + '" value="1"' + checked + '>'
'<input type="checkbox" class="isAdmin" data-token="' + rowData['usertoken'] + '" value="1"' + checked + '>'
);
},
"className": "center",
Expand Down
2 changes: 1 addition & 1 deletion plexpy/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
PLEXPY_BRANCH = "master"
PLEXPY_RELEASE_VERSION = "v4.1.00"
PLEXPY_RELEASE_VERSION = "v4.1.01"
5 changes: 4 additions & 1 deletion plexpy/webserve.py
Original file line number Diff line number Diff line change
Expand Up @@ -3010,7 +3010,10 @@ def configUpdate(self, **kwargs):


# Update and Write the config
plexpy.CONFIG.process_kwargs(kwargs)
try:
plexpy.CONFIG.process_kwargs(kwargs)
except (KeyError) as e:
logger.error("Unknown keyword arg in ConfigUpdate: %s" % e)
plexpy.CONFIG.write()

# Reconfigure scheduler if intervals changed
Expand Down

0 comments on commit c3f896f

Please sign in to comment.