Changeset 970 for pykota/trunk/bin

Show
Ignore:
Timestamp:
04/28/03 10:25:48 (22 years ago)
Author:
jalet
Message:

Small display bug in repykota was fixed.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/repykota

    r952 r970  
    2323# 
    2424# $Log$ 
     25# Revision 1.33  2003/04/28 08:25:48  jalet 
     26# Small display bug in repykota was fixed. 
     27# 
    2528# Revision 1.32  2003/04/23 22:13:56  jalet 
    2629# Preliminary support for LPRng added BUT STILL UNTESTED. 
     
    196199            prices = self.storage.getPrinterPrices(printerid) 
    197200            if prices is None : 
    198                 (perpage, perjob) = None 
     201                (perpage, perjob) = (None, None) 
    199202            else :     
    200203                (perpage, perjob) = prices 
    201                 if perjob is not None : 
    202                     print _("Price per job: %.3f") % perjob 
    203                 if perpage is not None :     
    204                     print _("Price per page: %.3f") % perpage 
     204            if perjob is not None : 
     205                print _("Price per job: %.3f") % perjob 
     206            if perpage is not None :     
     207                print _("Price per page: %.3f") % perpage 
    205208            total = 0 
    206209            totalmoney = 0.0