Ignore:
Timestamp:
Aug 6, 2017, 2:38:04 PM (9 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, debian/jessie
Children:
f48b5ac
Parents:
ad28f83 (diff), 1e925c0 (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.
Message:

Merge branch 'master' into debian/jessie

File:
1 moved

Legend:

Unmodified
Added
Removed
  • src/python/bin/gnuboat-splashscreen

    rad28f83 rce0f6a4  
    2020import os
    2121import getopt
    22 from PIL import Image
    23 from PIL import ImageOps
    24 from EPD import EPD
     22try:
     23  from PIL import Image
     24  from PIL import ImageOps
     25  from EPD import EPD
     26  epdEnabled = True
     27except:
     28  epdEnabled = False
    2529
    2630def displayImage(epd, imageFilePath):
    … …  
    4044  sys.exit()
    4145
    42 def main(argv):                         
     46def main(argv):                     
    4347  image = ""                 
    4448  try:                               
    … …  
    6367    sys.exit(2)
    6468
     69  if not epdEnabled:
     70    print "Could not initialize EPD or PIL python packages"
     71    sys.exit(2)
     72
    6573  epd = EPD()
    6674  epd.clear()
Note: See TracChangeset for help on using the changeset viewer.