projects
/
fflogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9471504
)
Set comprehension / Unique report codes
author
Jacob Casper
<dev@jacobcasper.com>
Mon, 9 Aug 2021 00:55:58 +0000
(19:55 -0500)
committer
Jacob Casper
<dev@jacobcasper.com>
Mon, 9 Aug 2021 00:55:58 +0000
(19:55 -0500)
main.py
patch
|
blob
|
blame
|
history
diff --git
a/main.py
b/main.py
index
372bd10
..
64c2d69
100755
(executable)
--- a/
main.py
+++ b/
main.py
@@
-53,7
+53,7
@@
params = {
}
result = client.execute(query, variable_values=params)
encounter_ranks = [result['characterData']['character'][encounter_alias] for encounter_alias in encounter_aliases]
-reports =
[rank['report']['code'] for encounter in encounter_ranks for rank in encounter['ranks']]
+reports =
{rank['report']['code'] for encounter in encounter_ranks for rank in encounter['ranks']}
query = gql(
'''
query ($code: String!) {