From bae045288559ffedee6dd1432e406e214fc9395a Mon Sep 17 00:00:00 2001 From: SerpentDrago Date: Mon, 19 Apr 2021 09:57:31 -0400 Subject: [PATCH 1/2] Fix Error when using default logging settings --- resources/libs/common/logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/libs/common/logging.py b/resources/libs/common/logging.py index 6cbca7a7..b8eced0f 100644 --- a/resources/libs/common/logging.py +++ b/resources/libs/common/logging.py @@ -83,7 +83,7 @@ def check_log(): elif CONFIG.CLEANWIZLOGBY == '1': # By Size maxsize = CONFIG.MAXWIZSIZE[int(float(CONFIG.CLEANSIZE))]*1024 if os.path.getsize(CONFIG.WIZLOG) >= maxsize: - start = len(lines)/2 + start = int(len(lines)/2) newfile = lines[start:] tools.write_to_file(CONFIG.WIZLOG, '\n'.join(newfile)) elif CONFIG.CLEANWIZLOGBY == '2': # By Lines From 8a4a7945133a1127f1c2e91d1559dd34ce2e2d86 Mon Sep 17 00:00:00 2001 From: SerpentDrago Date: Mon, 19 Apr 2021 09:58:52 -0400 Subject: [PATCH 2/2] version bump to 2.0.7 --- addon.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addon.xml b/addon.xml index 73c4f249..50610c40 100644 --- a/addon.xml +++ b/addon.xml @@ -1,5 +1,5 @@ - + @@ -21,6 +21,8 @@ false https://www.github.com/a4k-openproject/plugin.program.openwizard/ +2.0.7 + - Fix Error when using default log settings 2.0.6 - Fix regex for formatting tags - Fix theme selection after build install