- File:
-
- 1 edited
-
src/python/bin/gnuboat-splashscreen (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/python/bin/gnuboat-splashscreen
rb45e75d r6f09609 39 39 40 40 def usage(): 41 print ("Usage of gnuboat-splashscreen:")42 print (" gnuboat-splashscreen [-h] -i PATH_TO_IMAGE_TO_DISPLAY")43 print ("")44 print (" -h --help Print this help")45 print (" -i --image Path to the image, which should be displayed")41 print "Usage of gnuboat-splashscreen:" 42 print " gnuboat-splashscreen [-h] -i PATH_TO_IMAGE_TO_DISPLAY" 43 print "" 44 print " -h --help Print this help" 45 print " -i --image Path to the image, which should be displayed" 46 46 sys.exit() 47 47 … … 65 65 66 66 if not os.path.exists(image): 67 print("Image {} not found".format(image)) 67 print "Image %s not found" % image 68 print "" 68 69 usage() 69 70 sys.exit(2) 70 71 71 72 if not epdEnabled: 72 print ("Could not initialize EPD or PIL python packages")73 print "Could not initialize EPD or PIL python packages" 73 74 sys.exit(2) 74 75
Note:
See TracChangeset
for help on using the changeset viewer.
