Skip to content

Commit 581d11d

Browse files
committed
Components defined at the top then we truly accumate all the components found
1 parent 804f3cc commit 581d11d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/builder/weblatefileset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ def _get_catalan_language(self, url):
8989
return None
9090

9191
def _get_components(self, url):
92+
components = []
9293
while url is not None:
9394
json = self._api_json_call(url)
94-
components = []
9595

9696
for component_dict in json["results"]:
9797
slug = component_dict["slug"]

0 commit comments

Comments
 (0)