Skip to content

Commit

Permalink
Merge pull request #1 from blddk/master
Browse files Browse the repository at this point in the history
xml format fixed
  • Loading branch information
beardface committed Jun 2, 2012
2 parents afc22d7 + 4dc43e4 commit 9099bd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webinterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,11 @@ def index(self):
pass
if gPronterPtr.sdprinting:
fractioncomplete = float(gPronterPtr.percentdone/100.0)
txt+= _("<progress>%04.2f %%") % (gPronterPtr.percentdone,)
txt+= _("<progress>%04.2f") % (gPronterPtr.percentdone,)
txt+="</progress>\n"
elif gPronterPtr.p.printing:
fractioncomplete = float(gPronterPtr.p.queueindex)/len(gPronterPtr.p.mainqueue)
txt+= _("<progress>%04.2f %% |") % (100*float(gPronterPtr.p.queueindex)/len(gPronterPtr.p.mainqueue),)
txt+= _("<progress>%04.2f") % (100*float(gPronterPtr.p.queueindex)/len(gPronterPtr.p.mainqueue),)
txt+="</progress>\n"
else:
txt+="<progress>NA</progress>\n"
Expand Down

0 comments on commit 9099bd5

Please sign in to comment.