break after set

This commit is contained in:
SpootDev 2016-03-31 09:53:07 -05:00
parent a20dae1ee2
commit 6922eea15f

View file

@ -507,6 +507,7 @@ def BrowseContent(viewname, browse_type="", folderid=""):
for view in views:
if view.get("name") == viewname.decode('utf-8'):
folderid = view.get("id")
break
if viewname is not None:
utils.logMsg("BrowseContent","viewname: %s - type: %s - folderid: %s - filter: %s" %(viewname.decode('utf-8'), browse_type.decode('utf-8'), folderid.decode('utf-8'), filter_type.decode('utf-8')))