equal
deleted
inserted
replaced
503 _self.ChangesToSave = False |
503 _self.ChangesToSave = False |
504 else: |
504 else: |
505 # If plugin do not have corresponding file/dirs - they will be created on Save |
505 # If plugin do not have corresponding file/dirs - they will be created on Save |
506 os.mkdir(_self.PlugPath()) |
506 os.mkdir(_self.PlugPath()) |
507 # Find an IEC number |
507 # Find an IEC number |
508 _self.FindNewIEC_Channel(0, None) |
508 _self.FindNewIEC_Channel(0) |
509 # Call the plugin real __init__ |
509 # Call the plugin real __init__ |
510 if getattr(PlugClass, "__init__", None): |
510 if getattr(PlugClass, "__init__", None): |
511 PlugClass.__init__(_self) |
511 PlugClass.__init__(_self) |
512 _self.PlugRequestSave() |
512 _self.PlugRequestSave() |
513 #just created, must be saved |
513 #just created, must be saved |