Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update value.py #9

Merged
merged 1 commit into from Jun 16, 2014
Merged

Update value.py #9

merged 1 commit into from Jun 16, 2014

Conversation

shravanrajrk
Copy link
Contributor

In def decrease() function the following lines was copied from increase function
if valuei.currentValue >= valuei.minimumValue:
raise LdtpServerException('Maximum limit reached')

hence the function was always throwing exception when you try to decrease the value of slider/spin control so changed to
if valuei.currentValue <= valuei.minimumValue:
raise LdtpServerException('Minimum limit reached')

In def decrease() function the following lines was copied from increase function
if valuei.currentValue >= valuei.minimumValue:
                raise LdtpServerException('Maximum limit reached')

hence the function was always throwing exception when you try to decrease the value of slider/spin control so changed to 
if valuei.currentValue <= valuei.minimumValue:
                raise LdtpServerException('Minimum limit reached')
nagappan added a commit that referenced this pull request Jun 16, 2014
@nagappan nagappan merged commit 432b52d into ldtp:master Jun 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants