kevlened / sikuli_cpython

UNMAINTAINED: A CPython wrapper around the sikuli standalone jar
MIT License
62 stars 12 forks source link

Fixed wait function with a default duration #11

Closed lucagiove closed 9 years ago

lucagiove commented 9 years ago

Fixed the wait function together with https://github.com/mnovait

This patch should close this bug: https://github.com/kevlened/sikuli_cpython/issues/7

duration was not initialized and caused this tracback: UnboundLocalError: local variable 'duration' referenced before assignment

lucagiove commented 9 years ago

I think this can be closed since the fix is already included in https://github.com/kevlened/sikuli_cpython/pull/12