fixed variable names
This commit is contained in:
parent
d8c4cb47fa
commit
10740cae92
@ -325,7 +325,7 @@ if __name__ == "__main__":
|
|||||||
elif subdir == "placeholder":
|
elif subdir == "placeholder":
|
||||||
lvl = 1
|
lvl = 1
|
||||||
tcloud = make_tagcloud(tagcloud, "./tags/%s/latest.html")
|
tcloud = make_tagcloud(tagcloud, "./tags/%s/latest.html")
|
||||||
with open ("follows.html", 'w') as f:
|
with open ("webring.html", 'w') as f:
|
||||||
print(pagectrl.singlepage(html, tcloud, timeline),file=f)
|
print(pagectrl.singlepage(html, tcloud, timeline),file=f)
|
||||||
else: # if timelines per tag
|
else: # if timelines per tag
|
||||||
is_tagline = True
|
is_tagline = True
|
||||||
@ -381,7 +381,7 @@ if __name__ == "__main__":
|
|||||||
try:
|
try:
|
||||||
with http.urlopen(someone) as response:
|
with http.urlopen(someone) as response:
|
||||||
data = response.read()
|
data = response.read()
|
||||||
objects.append(json.loads(data))
|
other_people.append(json.loads(data))
|
||||||
except http.HTTPError as e:
|
except http.HTTPError as e:
|
||||||
print(e,": ", someone, file=sys.stderr)
|
print(e,": ", someone, file=sys.stderr)
|
||||||
pass
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user