Mercurial > hg > svgsitemap
changeset 4:84344f9ed3f8
handle startup case
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 28 Dec 2010 16:59:58 -0800 |
parents | fc09a7ffb767 |
children | 65acb32e8dc3 |
files | svgsitemap/middleware.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/svgsitemap/middleware.py Tue Dec 28 16:51:24 2010 -0800 +++ b/svgsitemap/middleware.py Tue Dec 28 16:59:58 2010 -0800 @@ -149,6 +149,7 @@ edge.attr['label'] = str(count) else: self.edges[(from_url, to_url)] = 1 + self.max = 1 self.graph.add_edge(from_url, to_url, label='1') for edge in self.graph.edges():