Skip to content
Snippets Groups Projects
Commit 4896bc59 authored by pippin's avatar pippin
Browse files

py: default to class App if entry is missing in toml

parent e85f7ef2
Branches
Tags
No related merge requests found
......@@ -222,7 +222,7 @@ class BundleMetadata:
"""
entry = self._t.get("entry", None)
if entry is None:
raise BundleMetadataBroken("missing entry section")
return self._load_class("App")
if "class" in entry and type(entry["class"]) == str:
class_entry = entry["class"]
return self._load_class(class_entry)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment