BotCity error self.not_found

Hello, I’m using pycharm and when I close it and open it again all the commands made with BotCity are as “self.not_found”, being necessary to do the prints again.
Sorry for the writing style, I’m from Brazil

Coloquei um else: antes do self.click() e não tive mais esse problema.

    if not self.find( "XXXX", matching=0.97, waiting_time=10000):
        self.not_found("Ver")
    else: self.click()
1 Like

@iuriguelfo if you are running on Windows, please check the following aspects:

  • Display Zoom is set to 100%
  • Font Zoom is set to 100%
  • Disable ClearType and redo your screen captures.

ClearType is most likely the cause of your issues. It smooths the fonts on every run of the code. You can also try to lower the matching value but I would recommend the actions above.

Let me know how that goes.

1 Like