Changeset cfdd201 for src/python/bin
- Timestamp:
- Aug 4, 2017, 8:06:40 PM (9 years ago)
- Branches:
- 0.5, app-cordova, debian/bullseye, debian/jessie, master
- Children:
- ab163c1
- Parents:
- cd0f9cc
- Location:
- src/python/bin
- Files:
-
- 1 added
- 1 moved
-
gnuboat (added)
-
gnuboat-splashscreen (moved) (moved from src/daemon/gnuboat-splashscreen ) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/python/bin/gnuboat-splashscreen
rcd0f9cc rcfdd201 20 20 import os 21 21 import getopt 22 from PIL import Image 23 from PIL import ImageOps 24 from EPD import EPD 22 try: 23 from PIL import Image 24 from PIL import ImageOps 25 from EPD import EPD 26 epdEnabled = True 27 except: 28 epdEnabled = False 25 29 26 30 def displayImage(epd, imageFilePath): … … 40 44 sys.exit() 41 45 42 def main(argv): 46 def main(argv): 43 47 image = "" 44 48 try: … … 63 67 sys.exit(2) 64 68 69 if not epdEnabled: 70 print "Could not initialize EPD or PIL python packages" 71 sys.exit(2) 72 65 73 epd = EPD() 66 74 epd.clear()
Note:
See TracChangeset
for help on using the changeset viewer.
