Rename KlipperScreen.conf to defaults.conf to avoid some confusion
This commit is contained in:
parent
54c47554d2
commit
996777a6dd
@ -13,7 +13,7 @@ merged with the custom configuration, so if you do not define any menus the defa
|
||||
|
||||
The default config is included here: (do not edit use as reference)
|
||||
|
||||
[ks_includes/KlipperScreen.conf](/ks_includes/KlipperScreen.conf)
|
||||
[ks_includes/KlipperScreen.conf](/ks_includes/default.conf)
|
||||
|
||||
If no config file is found then a new configuration file will be created in:
|
||||
|
||||
|
@ -29,7 +29,7 @@ class KlipperScreenConfig:
|
||||
do_not_edit_prefix = "#~#"
|
||||
|
||||
def __init__(self, configfile, screen=None):
|
||||
self.default_config_path = "%s/ks_includes/%s" % (os.getcwd(), self.configfile_name)
|
||||
self.default_config_path = "%s/ks_includes/%s" % (os.getcwd(), "defaults.conf")
|
||||
self.config = configparser.ConfigParser()
|
||||
self.config_path = self.get_config_file_location(configfile)
|
||||
logging.debug("Config path location: %s" % self.config_path)
|
||||
|
@ -216,7 +216,6 @@ name: {{ gettext('Settings') }}
|
||||
icon: settings
|
||||
panel: settings
|
||||
|
||||
|
||||
[menu __splashscreen]
|
||||
name: {{ gettext('Menu') }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user