Commits

clach04 committed 892b30e

Dump version information in logger, for clock and pylcdsysinfo.

  • Participants
  • Parent commits cf3caa6

Comments (0)

Files changed (1)

 
 import usb  # ideally pylcdsysinfo would raise its own exception for disconnect errors....
 
+import pylcdsysinfo
 from pylcdsysinfo import LCDSysInfo, TextLines, BackgroundColours, TextColours, large_image_indexes
 
 
     handlers=console,error_file
     """
 l = logging.getLogger(os.path.basename(__file__))
-
+l.info('myclock version %s', pylcdsysinfo.__version__)
+l.info('pylcdsysinfo version %s', pylcdsysinfo.__version__)
 
 # Generate mapping from line number to TextLines.LINE_* constant
 # this really should be in pylcdsysinfo.TextLines