Skip to content

Commit db44b49

Browse files
committed
full_url
1 parent 8c3a49c commit db44b49

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

wikigraphviz.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,7 @@ def node():
112112
label=r'"{}\n{} C"'.
113113
format(title, len(subcats)),
114114
tooltip=title + '\n\n' + subs,
115-
URL='https://' + self.site.code
116-
+ '.wikipedia.org/wiki/' + cat.title(as_url=True),
115+
URL=cat.full_url(),
117116
fontsize=int(10 * size))
118117
return n
119118

0 commit comments

Comments
 (0)