From 83656cff2e104bf4fbcafd40cc0995566b861683 Mon Sep 17 00:00:00 2001 From: StackZ <47382115+SuperSaiyajinStackZ@users.noreply.github.com> Date: Sun, 21 Jun 2020 09:13:08 +0200 Subject: [PATCH] damnit. --- source/screens/unistore_v2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/screens/unistore_v2.cpp b/source/screens/unistore_v2.cpp index 3ee29ff..77db23c 100644 --- a/source/screens/unistore_v2.cpp +++ b/source/screens/unistore_v2.cpp @@ -1076,7 +1076,7 @@ Result UniStoreV2::runFunctions(std::string entry) { } else if (type == "extractFile") { bool missing = false; std::string file, input, output, message; - if (this->storeJson.at("storeContent").at("storeContent").at(this->selection).at(entry).at(i).contains("file")) file = this->storeJson.at("storeContent").at(this->selection).at(entry).at(i).at("file"); + if (this->storeJson.at("storeContent").at(this->selection).at(entry).at(i).contains("file")) file = this->storeJson.at("storeContent").at(this->selection).at(entry).at(i).at("file"); else missing = true; if (this->storeJson.at("storeContent").at(this->selection).at(entry).at(i).contains("input")) input = this->storeJson.at("storeContent").at(this->selection).at(entry).at(i).at("input"); else missing = true;