Explorar o código

fixed error in min max

andreagus %!s(int64=8) %!d(string=hai) anos
pai
achega
642f0314b1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      converter.py

+ 1 - 1
converter.py

@@ -13,5 +13,5 @@ with open(file_name_csv, 'wb') as csvfile:
         parent = parent[:-4]
         vm = neighbor[0].text
         vmin = neighbor[1].text
-        vmax = neighbor[1].text
+        vmax = neighbor[2].text
         spamwriter.writerow([parent, vm, vmin, vmax])