← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #680688]: [1.1.4] Region.text(): adds new-line at the end of the recognized string

 

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

Summary changed to:
[1.1.4] Region.text(): adds new-line at the end of the recognized string

Description changed to:
My code:
    a = find("1557282546849.png").text()  
    b = "64"
    print a
    print "--"
    print b
    if a == b:
        print 'pass'
    else:
        print 'diff'


Result:
64


--
64
diff

How to do with no empty string?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.