Skip to content

Commit

Permalink
🚑 Hotfix for empty
Browse files Browse the repository at this point in the history
  • Loading branch information
jurialmunkey committed Oct 17, 2023
1 parent 45b335e commit d570cb1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon id="script.skinvariables"
version="1.1.37"
version="1.1.38"
name="Skin Variables"
provider-name="jurialmunkey">
<requires>
Expand Down
3 changes: 2 additions & 1 deletion resources/lib/skinshortcuts_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ def update_xml(self, force=False, no_reload=False, genxml='', **kwargs):
if not self.meta:
return

hashvalue = f'{make_hash(self.content + load_filecontent(self.filepath) + genxml)}--{xbmc.getInfoLabel("System.ProfileName")}'
hashvalue = f'{self.content}{load_filecontent(self.filepath)}{genxml}'
hashvalue = f'{make_hash(hashvalue)}--{xbmc.getInfoLabel("System.ProfileName")}'

if not force: # Allow overriding over built check
last_version = xbmc.getInfoLabel(f'Skin.String({self.hashname})')
Expand Down

0 comments on commit d570cb1

Please sign in to comment.