Permalink
Browse files

fixed typeo

  • Loading branch information...
1 parent 28adce0 commit 2af84e003e96d33faed3b1ccb99b847cea034a4f killdash9 committed Aug 17, 2012
View
@@ -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
@@ -1 +1 @@
-af9e5bbb0012c1c69741ccd802153db4
+077b33dc819093508965aeaa1a42a1ee
@@ -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>
@@ -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)

0 comments on commit 2af84e0

Please sign in to comment.