From f49cbd0596171e6e92af4f098bfde6723ad4f4c1 Mon Sep 17 00:00:00 2001 From: SerpentDrago Date: Mon, 19 Apr 2021 10:20:42 -0400 Subject: [PATCH 1/2] Fixed Error related to logging (backport from matrix) --- 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 fd67f21f..a9600936 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 b1fd2bcc87cd10444289abc1dba0068aa357f441 Mon Sep 17 00:00:00 2001 From: SerpentDrago Date: Mon, 19 Apr 2021 10:21:35 -0400 Subject: [PATCH 2/2] Update addon.xml --- addon.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addon.xml b/addon.xml index 94012660..e7c609f2 100644 --- a/addon.xml +++ b/addon.xml @@ -1,5 +1,5 @@ - + @@ -21,6 +21,8 @@ false https://www.github.com/drinfernoo/plugin.program.openwizard/ +1.4.9 + - Fix Error Related to Log 1.4.8 - Fix regex for formatting tags - Fix theme selection after build install