add turn numbers do express and wb

This commit is contained in:
Enno Rehling 2020-09-06 17:46:10 +02:00
parent ba39de9d25
commit 2b09e24654
1 changed files with 6 additions and 3 deletions

View File

@ -25,11 +25,14 @@ except:
print "%s: reports.txt file does not exist" % (argv[0], ) print "%s: reports.txt file does not exist" % (argv[0], )
exit(0) exit(0)
extras = [ '../wochenbericht.txt' ] extras = []
stats = 'wochenbericht-%s.txt' % turn
if os.path.isfile(stats):
os.symlink('../wochenbericht.txt, stats)
extras.append(stats)
express='../express-%s.txt' % turn express='../express-%s.txt' % turn
if os.path.isfile(express): if os.path.isfile(express):
os.symlink(express, 'express.txt') extras.append(express)
extras.append('express.txt')
for line in infile.readlines(): for line in infile.readlines():
settings = line[:-1].split(":") settings = line[:-1].split(":")