Fix issue with accidental whitespace in CREST user-defined settings

This commit is contained in:
blitzmann
2016-01-13 19:41:58 -05:00
parent bdf793072c
commit 2d1344b785

View File

@@ -97,8 +97,8 @@ class PFCrestPref ( PreferenceView):
service.Crest.restartService()
def OnBtnApply(self, event):
self.settings.set('clientID', self.inputClientID.GetValue())
self.settings.set('clientSecret', self.inputClientSecret.GetValue())
self.settings.set('clientID', self.inputClientID.GetValue().strip())
self.settings.set('clientSecret', self.inputClientSecret.GetValue().strip())
sCrest = service.Crest.getInstance()
sCrest.delAllCharacters()