Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed typeo

  • Loading branch information...
commit 2af84e003e96d33faed3b1ccb99b847cea034a4f 1 parent 28adce0
killdash9 authored
View
2  addons.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addons>
-<addon id="script.video.parentalcontrols" name="Parental Controls" version="1.4.11" provider-name="killdash9">
+<addon id="script.video.parentalcontrols" name="Parental Controls" version="1.4.12" provider-name="killdash9">
<requires>
<import addon="xbmc.python" version="2.0"/>
</requires>
View
2  addons.xml.md5
@@ -1 +1 @@
-af9e5bbb0012c1c69741ccd802153db4
+077b33dc819093508965aeaa1a42a1ee
View
2  script.video.parentalcontrols/addon.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="script.video.parentalcontrols" name="Parental Controls" version="1.4.11" provider-name="killdash9">
+<addon id="script.video.parentalcontrols" name="Parental Controls" version="1.4.12" provider-name="killdash9">
<requires>
<import addon="xbmc.python" version="2.0"/>
</requires>
View
7 script.video.parentalcontrols/resources/lib/parentalcontrols/wrap.py
@@ -124,10 +124,11 @@ def wrapper_addDirectoryItems(handle, items, totalItems = 0):
def wrapper_endOfDirectory(handle, succeeded = True, updateListing = False, cacheToDisc = True):
url = sys.argv[0] + sys.argv[2] + overridemarker
if (getBlocked() > 0):
- item = ListItem("Blocked %s (%s)" % (getBlockedRatingsString(),getBlocked()),"",common.__icon__, common.__icon__)
+ title="Blocked %s (%s)" % (getBlockedRatingsString(),getBlocked())
+ item = ListItem(title,"",common.__icon__, common.__icon__)
info={
- "Title":"Blocked by Parenal Controls",
- "Plot":"Some content has been blocked by the Parental Controls plugin. Click to unblock."
+ "Title":title
+ "Plot":"Some content has been blocked by the Parental Controls addon. Click to unblock."
}
item.setInfo("video",info)
addDirectoryItem(handle, url, item, False, getAllowed()+1)
Please sign in to comment.
Something went wrong with that request. Please try again.