Changed hard coded temp directory pathes to built-in tempfile gettempdir().

This commit is contained in:
Ruben Manuel Thoms authored and Kristian Bendiksen committed 2020-09-25 17:13:48 +02:00
1 parent a536ac2626
commit d1b3e0781e
2 files changed
+4 -2

No files matched your search

@@ -1,5 +1,6 @@
# Load ResInsight Processing Server Client Library
import rips
import tempfile
# Connect to ResInsight instance
resinsight = rips.Instance.find()
@@ -11,7 +12,7 @@ project = resinsight.project
wbsplots = project.descendants(rips.WellBoreStabilityPlot)
# Chose a sensible output folder
dirname = "C:/temp"
dirname = tempfile.gettempdir()
# Loop through all Well Bore Stability plots
for wbsplot in wbsplots: