mirror of
https://github.com/KevinMidboe/mktxp-no-cli.git
synced 2025-10-29 17:50:23 +00:00
Shared default config, fixes
This commit is contained in:
@@ -391,7 +391,7 @@ class MKTXPConfigHandler:
|
|||||||
if compact_config and config_entry_reader[MKTXPConfigKeys.PORT_KEY] == self.default_config_entry_reader[MKTXPConfigKeys.PORT_KEY]:
|
if compact_config and config_entry_reader[MKTXPConfigKeys.PORT_KEY] == self.default_config_entry_reader[MKTXPConfigKeys.PORT_KEY]:
|
||||||
drop_keys.append(MKTXPConfigKeys.PORT_KEY)
|
drop_keys.append(MKTXPConfigKeys.PORT_KEY)
|
||||||
else:
|
else:
|
||||||
config_entry_reader[MKTXPConfigKeys.PORT_KEY] = self.default_config_entry_reader[key]
|
config_entry_reader[MKTXPConfigKeys.PORT_KEY] = self.default_config_entry_reader[MKTXPConfigKeys.PORT_KEY]
|
||||||
|
|
||||||
# If allowed, compact mktxp.conf entry
|
# If allowed, compact mktxp.conf entry
|
||||||
if drop_keys and compact_config:
|
if drop_keys and compact_config:
|
||||||
|
|||||||
Reference in New Issue
Block a user