Changeset cfdd201 for src/python
- 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
- Files:
-
- 10 added
- 2 moved
-
.gitignore (added)
-
MANIFEST.in (added)
-
README (added)
-
bin/gnuboat (added)
-
bin/gnuboat-splashscreen (moved) (moved from src/daemon/gnuboat-splashscreen ) (3 diffs)
-
config/gnuboat.service (moved) (moved from src/daemon/gnuboat.service )
-
gnuboat/__init__.py (added)
-
gnuboat/daemon/__init__.py (added)
-
gnuboat/daemon/displayhandler.py (added)
-
gnuboat/daemon/gpsdpoller.py (added)
-
gnuboat/daemon/n2kdpoller.py (added)
-
setup.py (added)
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.
