Skip to content
This repository was archived by the owner on Oct 30, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.program.openwizard" name="[COLOR limegreen]Open[/COLOR]Wizard" version="1.4.8" provider-name="drinfernoo">
<addon id="plugin.program.openwizard" name="[COLOR limegreen]Open[/COLOR]Wizard" version="1.4.9" provider-name="drinfernoo">
<requires>
<import addon="xbmc.python" version="2.1.0" />
<import addon="script.module.requests" />
Expand All @@ -21,6 +21,8 @@
<reuselanguageinvoker>false</reuselanguageinvoker>
<source>https://www.github.com/drinfernoo/plugin.program.openwizard/</source>
<news>
1.4.9
- Fix Error Related to Log
1.4.8
- Fix regex for formatting tags
- Fix theme selection after build install
Expand Down
2 changes: 1 addition & 1 deletion resources/libs/common/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down