Skip to content

Commit

Permalink
Fix saving config with non-ascii chars for None locale
Browse files Browse the repository at this point in the history
  • Loading branch information
medariox committed May 19, 2016
1 parent a609bc3 commit 698c5ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sickbeard/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1685,7 +1685,7 @@ def saveAll():


def save_config(): # pylint: disable=too-many-statements, too-many-branches
new_config = ConfigObj()
new_config = ConfigObj(encoding='UTF-8', default_encoding='UTF-8')
new_config.filename = CONFIG_FILE

# For passwords you must include the word `password` in the item_name and add `helpers.encrypt(ITEM_NAME, ENCRYPTION_VERSION)` in save_config()
Expand Down

0 comments on commit 698c5ba

Please sign in to comment.