summaryrefslogtreecommitdiff
path: root/AutoImagesGPU2.py
diff options
context:
space:
mode:
Diffstat (limited to 'AutoImagesGPU2.py')
-rw-r--r--AutoImagesGPU2.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/AutoImagesGPU2.py b/AutoImagesGPU2.py
new file mode 100644
index 0000000..d23f06f
--- /dev/null
+++ b/AutoImagesGPU2.py
@@ -0,0 +1,16 @@
+import os
+
+def removeIfExists(filename):
+ if os.path.exists(filename):
+ os.remove(filename)
+
+
+exitStatus = os.system('python AutoImagesGPU.py')
+
+SEGFAULT = 35584
+
+while exitStatus == SEGFAULT:
+ exitStatus = os.system('python ImportAutoImages.py')
+
+removeIfExists('AutoImagesSettings.txt')
+removeIfExists('imageNumber.txt')