diff options
author | sstvinc2 <sstvinc2@gmail.com> | 2017-02-18 17:10:13 -0600 |
---|---|---|
committer | sstvinc2 <sstvinc2@gmail.com> | 2017-02-18 17:10:13 -0600 |
commit | f19dd7a3291e2d61d4d76eef5300df522193fa1e (patch) | |
tree | c2f37c5d2b19b65e47ca33f2575726da073472af /unbiasedFunctions.py | |
parent | f03c0b7c0eb7f607fe271d1e36ec869ee8caca57 (diff) |
Fixed NPR parsing; put NYT back in; Mobile CSS
Diffstat (limited to 'unbiasedFunctions.py')
-rw-r--r-- | unbiasedFunctions.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unbiasedFunctions.py b/unbiasedFunctions.py index 748aed7..ef0265f 100644 --- a/unbiasedFunctions.py +++ b/unbiasedFunctions.py @@ -103,6 +103,7 @@ def buildOutput(newsSourceArr): h3RandomPairs=[]
while len(h3RandomPairs) < 12:
x=random.sample(range(len(newsSourceArr)), 1)[0]
+ print(newsSourceArr[x].name)
y=random.sample(range(len(newsSourceArr[x].h3Arr)), 1)[0]
pair=[x,y]
if not pair in h3RandomPairs:
|