debian/patches/locale-sensitive.patch
raw| 1 | --- a/biomaj_download/download/rsync.py |
| 2 | +++ b/biomaj_download/download/rsync.py |
| 3 | @@ -134,7 +134,7 @@ |
| 4 | continue |
| 5 | date = parts[2].split('/') |
| 6 | rfile['permissions'] = parts[0] |
| 7 | - rfile['size'] = int(parts[1].replace(',', '')) |
| 8 | + rfile['size'] = int(parts[1].replace(',', '').replace('.', '')) |
| 9 | rfile['month'] = int(date[1]) |
| 10 | rfile['day'] = int(date[2]) |
| 11 | rfile['year'] = int(date[0]) |