- File:
-
- 1 edited
-
src/python/bin/gnuboat-splashscreen (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/python/bin/gnuboat-splashscreen
r6f09609 re561143 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 %s not found" % image 68 print "" 67 print("Image {} not found".format(image)) 69 68 usage() 70 69 sys.exit(2) 71 70 72 71 if not epdEnabled: 73 print "Could not initialize EPD or PIL python packages"72 print("Could not initialize EPD or PIL python packages") 74 73 sys.exit(2) 75 74
Note:
See TracChangeset
for help on using the changeset viewer.
