Skip to content

Commit

Permalink
Update bot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ipsBruno authored Nov 11, 2019
1 parent 25737e7 commit 8f63456
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,14 @@ def on_triggered():


def on_triggered_screen():
print("Imagem salva com sucesso!")
im = ImageGrab.grabclipboard()
global notHaveFiles
filename =('cliparts/%s.png' % str(uuid.uuid4()))
if notHaveFiles == 1:
if notHaveFiles == 0:
winsound.Beep(600, 1000)
print("Configure o BOT direito antes de dar CTRL + B")
restart_app()
print("Imagem salva com sucesso!")
im = ImageGrab.grabclipboard()
filename =('cliparts/%s.png' % str(uuid.uuid4()))
try:
im.thumbnail((90,90), img.ANTIALIAS)
except:
Expand Down

0 comments on commit 8f63456

Please sign in to comment.