Fix crash

This commit is contained in:
JeremyStar™ 2024-05-14 01:09:24 +02:00
parent aa3c1ecd30
commit b24d3935f8
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -81,7 +81,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.""")
if args["load_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 != "":
logger.error("Presencode is unable to load the presentation you tried to open.\nError thrown by presenloader.gd:\n" + error)