Fix crash
This commit is contained in:
parent
aa3c1ecd30
commit
b24d3935f8
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.""")
|
||||||
if args["load_presentation"]:
|
if args["load_presentation"]:
|
||||||
logger.verb("Loading presentation")
|
logger.verb("Loading presentation")
|
||||||
|
|
||||||
var error: String = presenloader.load_presentation(args["presentation_path"])
|
var error: String = await presenloader.load_presentation(args["presentation_path"])
|
||||||
|
|
||||||
if error != "":
|
if error != "":
|
||||||
logger.error("Presencode is unable to load the presentation you tried to open.\nError thrown by presenloader.gd:\n" + error)
|
logger.error("Presencode is unable to load the presentation you tried to open.\nError thrown by presenloader.gd:\n" + error)
|
||||||
|
|
Loading…
Reference in a new issue