Rename KlipperScreen.conf to defaults.conf to avoid some confusion

This commit is contained in:
Jordan 2021-09-16 22:56:33 -04:00
parent 54c47554d2
commit 996777a6dd
3 changed files with 2 additions and 3 deletions

View File

@ -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:

View File

@ -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)

View File

@ -216,7 +216,6 @@ name: {{ gettext('Settings') }}
icon: settings
panel: settings
[menu __splashscreen]
name: {{ gettext('Menu') }}