blob: b724c2d20d2c43c662f4a332559db413593709d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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')
|