Showing
1 changed file
with
2 additions
and
3 deletions
| ... | @@ -50,9 +50,8 @@ def record() : | ... | @@ -50,9 +50,8 @@ def record() : |
| 50 | time.sleep(2) | 50 | time.sleep(2) |
| 51 | camera.stop_recording() | 51 | camera.stop_recording() |
| 52 | camera.stop_preview() | 52 | camera.stop_preview() |
| 53 | - | 53 | + |
| 54 | - rec_time = time.time() - start_time | 54 | + vid_time = time.strftime("%M:%S", time.gmtime(time.time()-start_time)) |
| 55 | - vid_time = rec_time.strftime("%H:%M:%S") | ||
| 56 | 55 | ||
| 57 | # s3 upload | 56 | # s3 upload |
| 58 | ''' | 57 | ''' | ... | ... |
-
Please register or login to post a comment