Skip to content
This repository has been archived by the owner on Oct 30, 2022. It is now read-only.

Fix adding skin to guifix after build backup #135

Open
wants to merge 1 commit into
base: matrix
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion resources/libs/backup.py
Expand Up @@ -430,7 +430,7 @@ def _backup_info(self, name, extractsize, programs, video, music, picture, repos
_skin = xbmcaddon.Addon(_skin_id)
_skin_name = xbmcvfs.translatePath(_skin.getAddonInfo('name'))

with open(temp_txt, 'w') as f:
with open(temp_txt, 'w', encoding="utf-8") as f:
f.write('name="{0}"\n'.format(name))
f.write('extracted="{0}"\n'.format(extractsize))
f.write('zipsize="{0}"\n'.format(os.path.getsize(backup_zip)))
Expand Down