Skip to content

Commit

Permalink
Missing screenshots tests : removing time.sleep(tempo) at the start o…
Browse files Browse the repository at this point in the history
…f a screenshot()
  • Loading branch information
FrancoisSchnell committed May 12, 2014
1 parent e2b7052 commit 1d02c83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MediaCours.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -645,8 +645,8 @@ def screenshot():
""" """
Take a screenshot and thumbnails of the screen Take a screenshot and thumbnails of the screen
""" """
global recording, diaId, t0, timecodeFile global recording, diaId, t0, timecodeFile, ftpHandle
time.sleep(tempo) #time.sleep(tempo)
if recording == True: #or False? if recording == True: #or False?
myscreen= ImageGrab.grab() #print "screenshot from mouse" myscreen= ImageGrab.grab() #print "screenshot from mouse"
t = time.time() t = time.time()
Expand Down

0 comments on commit 1d02c83

Please sign in to comment.