Question #172656 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/172656

RaiMan posted a new comment:
@vitalliuss
principally ok, but the semantics are not ok:
years = str(timedelta/365).split(' ')

timedelta/365 works, but the result are still days - you take it as
years and the excerpt of the year is too complicated

better and more straightforward
years = timedelta.days/365

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to