Skip to content

Commit

Permalink
Content store: Fix assertion failed on unsuccessful package list fetch
Browse files Browse the repository at this point in the history
Fixes #8168
  • Loading branch information
rubenwardy committed Feb 3, 2019
1 parent 0d0875f commit 5b965e0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions builtin/mainmenu/dlg_contentstore.lua
Expand Up @@ -15,7 +15,7 @@
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

local store = {}
local store = { packages = {}, packages_full = {} }
local package_dialog = {}

-- Screenshot
Expand Down Expand Up @@ -396,8 +396,6 @@ function store.filter_packages(query)
end

function store.get_formspec()
assert(store.loaded)

store.update_paths()

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

0 comments on commit 5b965e0

Please sign in to comment.