aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgrab_flags2
1 files changed, 2 insertions, 0 deletions
diff --git a/grab_flags b/grab_flags
index 51e2df9..0d50fd6 100755
--- a/grab_flags
+++ b/grab_flags
@@ -21,5 +21,7 @@ with open(sys.argv[1]) as file:
reader = csv.DictReader(file, delimiter=',')
for row in reader:
country = row['id'][0:2].lower()
+ if country == 'vi': # vi for vianu
+ continue
call(['wget', '-O', '{}.png'.format(row['id']), 'https://github.com/hjnilsson/country-flags/raw/master/png100px/{}.png'.format(country)])
print(row['id'][0:2])