Changeset 8fd7454 for src/python/bin/gnuboat-splashscreen
- Timestamp:
- Dec 10, 2017, 4:32:57 PM (9 years ago)
- Branches:
- debian/bullseye, debian/jessie
- Children:
- ce5244e
- Parents:
- c810990 (diff), 8ef59a1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/python/bin/gnuboat-splashscreen (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/python/bin/gnuboat-splashscreen
rc810990 r8fd7454 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.
