Replace fixed input/output paths in platz.cfg with --indir switch
Tischedatei, XMLdatei_Bestellung, AusgabeTischePersonen and AusgabePersonTisch are no longer configured in platz.cfg. Instead, platz.py now requires a --indir <dir> command-line switch pointing at a directory that must contain tische.ini and bestellung.xml, and into which TischePersonen.txt/PersonenTische.csv are written - e.g. work/test1 or work/test2. This makes it trivial to run against different guest lists without editing platz.cfg. platz.bat/platz.sh forward extra arguments so --indir can be passed through. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -2,9 +2,5 @@
|
||||
Zyklusdatei=$PLATZ_CFG/zyklus.cfg
|
||||
Zyklusart=Easy
|
||||
Strafendatei=$PLATZ_CFG/strafen.cfg
|
||||
Tischedatei=$PLATZ_WORK/test1/tische.ini
|
||||
XMLdatei_Bestellung=$PLATZ_WORK/test1/bestellung.xml
|
||||
AusgabeTischePersonen=$PLATZ_WORK/test1/TischePersonen.txt
|
||||
AusgabePersonTisch=$PLATZ_WORK/test1/PersonenTische.csv
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user