Skip to content

Commit

Permalink
Merge pull request #1251 from PyPlanet/bugfix/1219
Browse files Browse the repository at this point in the history
Mode settings: removed weird character at description start, removed <hidden> descriptions.
  • Loading branch information
TheMaximum committed Aug 23, 2023
2 parents a6f91b6 + 73d8bf7 commit c796984
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyplanet/apps/contrib/admin/views/setting.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ async def get_data(self):

settings[info['Name']] = dict(
default=info['Default'], type=real_type, name=info['Name'], description=info['Desc']
.replace("\x92", "").replace("<hidden>", "")
)

for name, value in mode_settings.items():
Expand Down

0 comments on commit c796984

Please sign in to comment.