Maintenance - Mise à jour mensuelle Lundi 1 Juin 2020 entre 7h00 et 9h00

util.py.patch 598 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
84c84
<     def __next__(self):
---
>     def __next__(self, file_prefix="w"):
96,97c96,97
<         number   = template.format(self.folder_number, self.file_number)
<         args     = [c for c in number[:self.depth]] + [number]
---
>         number   = file_prefix + template.format(self.folder_number, self.file_number)
>         args     = [c for c in number[len(file_prefix):self.depth+len(file_prefix)]] + [number]
11 12 13 14 15 16 17 18
202c202
<     if os.path.exists(executable):
---
>     if os.path.isfile(executable):
211c211
<         if os.path.exists(exe_path):
---
>         if os.path.isfile(exe_path):