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