Showing 1 changed files with 1 additions and 0 deletions
+1
analyse-votes-AN
... ...
@@ -60,6 +60,7 @@ function update_database () {
60 60
         url_database=/dev/shm/url_database
61 61
         : > "$url_database"
62 62
         test $((last % 100)) -ne 0 && last_offset=0
63
+        IFS=$' \t\n'
63 64
         for offset in $(seq $((last - 100)) -100 ${first:-0} ) $last_offset; do
64 65
             wget -qO- "http://www2.assemblee-nationale.fr/scrutins/liste/(offset)/$offset/(legislature)/15/(type)/TOUS/(idDossier)/TOUS" \
65 66
                 | awk '