mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2554 Export Completions : Do not create two folders if export folder does not exist
This commit is contained in:
parent
0083ecdf6a
commit
08ce58b2fa
@ -488,10 +488,9 @@ void RicWellPathExportCompletionDataFeatureImpl::printCompletionsToFile(
|
||||
if (completionsPerGrid.empty()) return;
|
||||
|
||||
QDir exportFolder(folderName);
|
||||
|
||||
if (!exportFolder.exists())
|
||||
{
|
||||
bool createdPath = exportFolder.mkpath(folderName);
|
||||
bool createdPath = exportFolder.mkpath(".");
|
||||
if (createdPath)
|
||||
RiaLogging::info("Created export folder " + folderName);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user