Skip to content

Commit

Permalink
fixing "editor" option issue
Browse files Browse the repository at this point in the history
close #228
  • Loading branch information
SimonSAMPERE committed Sep 11, 2019
1 parent e25574c commit 2c7c0eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/api/auth.py
Expand Up @@ -234,8 +234,8 @@ def display_auth_form(self):
self.ui_auth_form.ent_app_id.setText(self.api_params["app_id"])
self.ui_auth_form.ent_app_secret.setText(self.api_params["app_secret"])
self.ui_auth_form.lbl_api_url_value.setText(self.api_params["url_base"])
self.ui_auth_form.chb_isogeo_editor.setChecked(qsettings
.value("isogeo/user/editor", 0))
self.ui_auth_form.chb_isogeo_editor.setChecked(int(qsettings
.value("isogeo/user/editor", 0)))

# display
logger.debug("Authentication form filled and ready to be launched.")
Expand Down

0 comments on commit 2c7c0eb

Please sign in to comment.