From 6922eea15fd8deea317482f9090e24270ec17f2f Mon Sep 17 00:00:00 2001 From: SpootDev Date: Thu, 31 Mar 2016 09:53:07 -0500 Subject: [PATCH] break after set --- resources/lib/entrypoint.py | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/lib/entrypoint.py b/resources/lib/entrypoint.py index 53771833..f71ac305 100644 --- a/resources/lib/entrypoint.py +++ b/resources/lib/entrypoint.py @@ -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')))