Fixed issue with str alexaRank

This commit is contained in:
Soxoj
2022-03-06 16:19:25 +03:00
parent 694e024ba1
commit 1e2d5cf742
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1034,7 +1034,7 @@
"disabled": true "disabled": true
}, },
"Appian": { "Appian": {
"alexaRank": "56402", "alexaRank": 56402,
"url": "https://community.appian.com/members/{username}", "url": "https://community.appian.com/members/{username}",
"checkType": "message", "checkType": "message",
"absenceStrs": [ "absenceStrs": [
+1 -1
View File
@@ -114,7 +114,7 @@ Rank data fetched from Alexa by domains.
sys.stdout.flush() sys.stdout.flush()
index = index + 1 index = index + 1
sites_full_list = [(s, s.alexa_rank) for s in sites_subset] sites_full_list = [(s, int(s.alexa_rank)) for s in sites_subset]
sites_full_list.sort(reverse=False, key=lambda x: x[1]) sites_full_list.sort(reverse=False, key=lambda x: x[1])