equal
deleted
inserted
replaced
54 # or a drive unit ? |
54 # or a drive unit ? |
55 elif len(location)==2 and \ |
55 elif len(location)==2 and \ |
56 location[0].isalpha() and \ |
56 location[0].isalpha() and \ |
57 location[1] == ':' : |
57 location[1] == ':' : |
58 self.SerialConnection = None |
58 self.SerialConnection = None |
59 if os.path.exist(location): |
59 if os.path.exists(location): |
60 self.StorageConnection = location |
60 self.StorageConnection = location |
61 self.PLCStatus = "Stopped" |
61 self.PLCStatus = "Stopped" |
62 else: |
62 else: |
63 self.pluginsroot.logger.write_error("Drive "+ |
63 self.pluginsroot.logger.write_error("Drive "+ |
64 location+ |
64 location+ |