Python 3.13: Fix and polish #1

Merged
vilmibm merged 15 commits from noelle/tilde-train:python-3.13 into trunk 2025-06-02 22:23:23 +00:00
Showing only changes of commit 56f7c8d278 - Show all commits

View File

@ -339,7 +339,7 @@ for fname in glob.glob('/home/*/' + traincarFN):
##print "Cannot open " + fname # for debuggering purposes
while len(cars) < max_cars:
cars.append(default_car) ## add default cars if train too short
cars.append([*default_car]) ## add copies of default cars if train too short
shuffle(cars)
cars = cars[0:max_cars]