Show
Ignore:
Timestamp:
05/03/06 20:40:18 (19 years ago)
Author:
jerome
Message:

Fixes a datetime encoding problem.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/cupspykota

    r2829 r2879  
    803803                now = DateTime.now() 
    804804                try : 
    805                     previous = DateTime.ISO.ParseDateTime(self.Printer.LastJob.JobDate).localtime() 
     805                    previous = DateTime.ISO.ParseDateTime(str(self.Printer.LastJob.JobDate)).localtime() 
    806806                except : 
    807807                    previous = now