Skip to content

Commit 5b965e0

Browse files
committedFeb 3, 2019
Content store: Fix assertion failed on unsuccessful package list fetch
Fixes #8168
1 parent 0d0875f commit 5b965e0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎builtin/mainmenu/dlg_contentstore.lua

+1-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
--with this program; if not, write to the Free Software Foundation, Inc.,
1616
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1717

18-
local store = {}
18+
local store = { packages = {}, packages_full = {} }
1919
local package_dialog = {}
2020

2121
-- Screenshot
@@ -396,8 +396,6 @@ function store.filter_packages(query)
396396
end
397397

398398
function store.get_formspec()
399-
assert(store.loaded)
400-
401399
store.update_paths()
402400

403401
local pages = math.ceil(#store.packages / num_per_page)

0 commit comments

Comments
 (0)