Permalink
Browse files

Version 1.2.3f

  • Loading branch information...
KenT2 committed Jan 17, 2018
1 parent 0f69aa4 commit 23b2dfbaecba4af9cd0eda78f84d8f97825ce020
Showing with 7 additions and 3 deletions.
  1. +3 −0 changelog.txt
  2. +4 −3 pipresents.py
View
@@ -1,3 +1,6 @@
Version 1.2.3f 17/1/2018
fixed shutting down the Pi to nake it compatible with Jessie and Stretch
Version 1.2.3e 11/8/2014
Fixed bug in videoplayer where animation commands at the end of the track were those specified for the beginning of the track
View
@@ -3,7 +3,7 @@
"""
Part of Pi Presents
Pi Presents is a presentation package, running on the Raspberry Pi, for museum exhibits, galleries, and presentations.
Copyright 2012/2013,2014 Ken Thompson
Copyright 2012,2013,2014,2015,2016,217,2018 Ken Thompson
See manual.pdf for instructions.
"""
@@ -36,7 +36,7 @@ class PiPresents:
def __init__(self):
self.pipresents_issue="1.2"
self.pipresents_minorissue = '1.2.3e'
self.pipresents_minorissue = '1.2.3f'
self.nonfull_window_width = 0.5 # proportion of width
self.nonfull_window_height= 0.6 # proportion of height
self.nonfull_window_x = 0 # position of top left corner
@@ -391,7 +391,8 @@ def end(self,reason,message):
#close logging files
self.mon.finish()
if self.shutdown_required==True:
call(['sudo', 'shutdown', '-h', '-t 5','now'])
# call(['sudo', 'shutdown', '-h', '-t 5','now'])
call(['sudo', 'shutdown', '-h', 'now'])
exit()
else:
exit()

0 comments on commit 23b2dfb

Please sign in to comment.