Skip to content

Commit

Permalink
Merge pull request sherlock-project#911 from NirajNair/dev
Browse files Browse the repository at this point in the history
Changes made to site_list.py to reduce commit size Fixes sherlock-project#909
  • Loading branch information
sdushantha committed Jan 13, 2021
2 parents ecf7e4d + d404fe7 commit a4512d5
Show file tree
Hide file tree
Showing 2 changed files with 305 additions and 308 deletions.
5 changes: 1 addition & 4 deletions site_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@
url_main = data.get(social_network).get("urlMain")
pool.append((social_network, url_main))

index = 1
for social_network, url_main in pool:
site_file.write(f'{index}. [{social_network}]({url_main})\n')
index = index + 1

site_file.write(f'1. [{social_network}]({url_main})\n')

sorted_json_data = json.dumps(data, indent=2, sort_keys=True)

Expand Down
Loading

0 comments on commit a4512d5

Please sign in to comment.