2 Commits 809e434d5f ... c934f89813

Author SHA1 Message Date
  Adam c934f89813 convert vehicle dictionary in ZTM Poznań feed 2 months ago
  Adam 809e434d5f convert vehicle dictionary in ZTM Poznań feed 2 months ago
1 changed files with 0 additions and 11 deletions
  1. 0 11
      traffic/feeds/poznan_ztm.go

+ 0 - 11
traffic/feeds/poznan_ztm.go

@@ -32,17 +32,6 @@ func (z ZtmPoznan) ConvertVehicles(path string) error {
 		return fmt.Errorf("ConvertVehicles: cannot GET ‘%s’: %w", url, err)
 	}
 
-	/*file, err := os.Create(filepath.Join(path, "vehicle_dictionary.csv"))
-	if err != nil {
-		return fmt.Errorf("ConvertVehicles: cannot create csv file: %w", err)
-	}
-	defer file.Close()
-
-	_, err = io.Copy(file, response.Body)
-	if err != nil {
-		return fmt.Errorf("while downloading vehicles %w\n", err)
-	}*/
-
 	result, err := os.Create(filepath.Join(path, "vehicles.bare"))
 	if err != nil {
 		return fmt.Errorf("ConvertVehicles: cannot create bare file: %w", err)