Changeset 378 for trunk


Ignore:
Timestamp:
04/04/12 09:18:11 (8 years ago)
Author:
sc
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Puzzlebox/Synapse/Device.py

    r373 r378  
    3232        print "INFO: [Synapse:Device] Using PyQt4 module" 
    3333        from PyQt4 import QtCore, QtGui 
     34 
     35if (sys.platform == 'win32'): 
     36        import _winreg as winreg 
     37        import itertools 
     38        import re 
     39        import serial 
     40        DEFAULT_IMAGE_PATH = 'images' 
     41elif (sys.platform == 'darwin'): 
     42        DEFAULT_IMAGE_PATH = 'images' 
     43else: 
     44        import bluetooth 
     45        DEFAULT_IMAGE_PATH = '/usr/share/puzzlebox_synapse/images' 
    3446 
    3547 
Note: See TracChangeset for help on using the changeset viewer.