def __init__(self, parent, config, name):
    RevealerPlugin.__init__(self, parent, config, name)
    self.base_dir = os.path.join(config.electrum_path(), 'revealer')
    if (self.config.get('calibration_h') is None):
        self.config.set_key('calibration_h', 0)
    if (self.config.get('calibration_v') is None):
        self.config.set_key('calibration_v', 0)
    self.calibration_h = self.config.get('calibration_h')
    self.calibration_v = self.config.get('calibration_v')
    self.f_size = QSize((1014 * 2), (642 * 2))
    self.abstand_h = 21
    self.abstand_v = 34
    self.calibration_noise = int(('10' * 128))
    self.rawnoise = False
    make_dir(self.base_dir)
    self.extension = False
def __init__(self, parent, config, name):
    RevealerPlugin.__init__(self, parent, config, name)
    self.base_dir = os.path.join(config.electrum_path(), 'revealer')
    if (self.config.get('calibration_h') is None):
        self.config.set_key('calibration_h', 0)
    if (self.config.get('calibration_v') is None):
        self.config.set_key('calibration_v', 0)
    self.calibration_h = self.config.get('calibration_h')
    self.calibration_v = self.config.get('calibration_v')
    self.f_size = QSize((1014 * 2), (642 * 2))
    self.abstand_h = 21
    self.abstand_v = 34
    self.calibration_noise = int(('10' * 128))
    self.rawnoise = False
    make_dir(self.base_dir)
    self.extension = False