Skip to content

Commit a0f8169

Browse files
authored
Avoid plagiarism
1 parent 47a2fba commit a0f8169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/utils/population/countrypopulation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def get_population_dict():
3939
# verify that country is in database
4040
if country_in_database(row[0]):
4141

42-
# Populate dict with last non-None value
42+
# Populate dict with last non-None value (https://stackoverflow.com/a/18533669)
4343
key = country_code(row[0], verbose=False)
4444
popluation_dict.update({key: int(next((el for el in row[::-1] if el), None))})
4545

0 commit comments

Comments
 (0)