← Back to team overview

sikuli-driver team mailing list archive

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

 

** Changed in: sikuli
   Importance: High => Medium

** Changed in: sikuli
    Milestone: 1.1.4 => 2.1.0

** Summary changed:

- [1.1.4] Region.text(): adds new-line at the end of the recognized string
+ [check] Region.text(): adds new-line at the end of the recognized string

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1828169

Title:
  [check] Region.text(): adds new-line at the end of the recognized
  string

Status in Sikuli:
  In Progress

Bug description:
  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?

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1828169/+subscriptions


References