commit 9a3718b662be1d205dde446cad15ff17632f4aaf
parent 9ea7d8f9a6315a63f3f09efb1e864abb53b89bd8
Author: rbckman <robinbackman@gmail.com>
Date: Tue, 31 Oct 2017 07:13:03 +0000
dunno
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tarina.py b/tarina.py
@@ -283,7 +283,7 @@ def displayimage(camera, filename):
# Add the overlay with the padded image as the source,
# but the original image's dimensions
- overlay = camera.add_overlay(pad.tostring(), size=img.size)
+ overlay = camera.add_overlay(pad.tobytes(), size=img.size)
# By default, the overlay is in layer 0, beneath the
# preview (which defaults to layer 2). Here we make
# the new overlay semi-transparent, then move it above
@@ -1654,7 +1654,7 @@ def main():
else:
selected = 0
if selected == 4:
- selected = selected + 1
+ selected = 5
if recording == True:
t = time.time() - starttime
rectime = time.strftime("%H:%M:%S", time.gmtime(t))