]> git.decadent.org.uk Git - dak.git/commitdiff
Include the correct path to the graph images in new.html
authorPaul Wise <pabs@debian.org>
Sun, 20 Feb 2011 06:26:13 +0000 (14:26 +0800)
committerJoerg Jaspert <joerg@debian.org>
Sun, 20 Feb 2011 10:03:00 +0000 (11:03 +0100)
dak/queue_report.py

index a929a4b6b8e5eb87ede949284cd368b2dd3005e3..2f92bcf676eb42b2bf79085467a5ed0880d8da1e 100755 (executable)
@@ -656,12 +656,12 @@ def main():
     if Cnf.has_key("Queue-Report::Options::New"):
         for dir in directories:
             print """
-<p><img src="%s-day.png" alt="%s, last day"></p>
-<p><img src="%s-week.png" alt="%s, last week"></p>
-<p><img src="%s-month.png" alt="%s, last month"></p>
-<p><img src="%s-year.png" alt="%s, last year"></p>
-<p><img src="%s-5years.png" alt="%s, last 5 years"></p>
-<p><img src="%s-10years.png" alt="%s, last 10 years"></p>
+<p><img src="stat/%s-day.png" alt="%s, last day"></p>
+<p><img src="stat/%s-week.png" alt="%s, last week"></p>
+<p><img src="stat/%s-month.png" alt="%s, last month"></p>
+<p><img src="stat/%s-year.png" alt="%s, last year"></p>
+<p><img src="stat/%s-5years.png" alt="%s, last 5 years"></p>
+<p><img src="stat/%s-10years.png" alt="%s, last 10 years"></p>
 """ % ((dir,)*12)
 
     if Cnf.has_key("Queue-Report::Options::New"):