typo
This commit is contained in:
parent
45fe7ea8bd
commit
2fb42d5365
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
#include "excelreader.h"
|
||||
#include "utils.h"
|
||||
|
||||
#include <xlnt/xlnt.hpp>
|
||||
#include <fstream>
|
||||
#include <xlnt/xlnt.hpp>
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
|
@ -10,8 +10,8 @@ void ExcelReader::readSellersFromFile(const fs::path& filePath, Marketplace* mar
|
|||
{
|
||||
xlnt::workbook wb;
|
||||
std::ifstream mystream(filePath, std::ios::binary);
|
||||
if(!mystream.is_open()) {
|
||||
throw std::runtime_error("Could not open ecxel file");
|
||||
if (!mystream.is_open()) {
|
||||
throw std::runtime_error("Could not open Excel file");
|
||||
}
|
||||
wb.load(mystream);
|
||||
|
||||
|
|
Loading…
Reference in a new issue