Skip to content

Commit d177c3f

Browse files
committed
fix: Write the same file twice
1 parent bb1645a commit d177c3f

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ To convert the `data/anac.csv` file into `data/anac.csv.lrz`, you must execute t
9393
```shell
9494
sudo apt install lrzip
9595
lrzip -z data/anac.csv
96-
mv data/anac.csv.lrz data/anac.csv.lrz
9796
```
9897

9998
## Contributing

extract.py

-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
with requests.get(url) as file_response:
3535
with open(public_aerodromes_filepath, 'wb') as file_to_save:
3636
file_to_save.write(file_response.content)
37-
open(path + 'public_aerodromes.csv', 'wb').write(file_response.content)
3837

3938
# Airport Codes (DataHub.io)
4039
airport_codes_filepath = path + 'airport_codes.csv'
@@ -43,4 +42,3 @@
4342
with requests.get(url) as file_response:
4443
with open(airport_codes_filepath, 'wb') as file_to_save:
4544
file_to_save.write(file_response.content)
46-
open(path + 'airport_codes.csv', 'wb').write(file_response.content)

0 commit comments

Comments
 (0)