From a5f3f2fe0ad4d9499e22f29bcd9a52fb3e37e1c7 Mon Sep 17 00:00:00 2001 From: anne Date: Sun, 25 Jun 2023 01:00:44 +0200 Subject: [PATCH] did git just donk up my commits --- parsetools.py | 2 +- user_profile.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/parsetools.py b/parsetools.py index e3c77e2..777cfe1 100644 --- a/parsetools.py +++ b/parsetools.py @@ -1107,7 +1107,7 @@ class ThemeException(Exception): def themeChecker(theme): - needs = [ + needs = [ "main/size", "main/icon", "main/windowtitle", diff --git a/user_profile.py b/user_profile.py index 143c92a..7076069 100644 --- a/user_profile.py +++ b/user_profile.py @@ -986,15 +986,15 @@ class pesterTheme(dict): def pathHook(self, dict): # This converts strings containing $path into the proper paths - # Honestly ive never even seen this Template stuff before. very funky! + # Honestly ive never even seen this Template stuff before. very funky! for key, value in dict.items(): if isinstance(value, str): templ = Template(value) dict[key] = templ.safe_substitute(path=self.path) elif isinstance(value, list): # ~lisanne : for dealing with 'main/fonts' which is an array which contains filepaths with $ - # probably good to have for future additions - for idx,item in enumerate(value): + # probably good to have for future additions + for idx, item in enumerate(value): item = value[idx] if isinstance(item, str): # not very DRY of me >:3c