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