Changeset 8589 for mauRepo/MolesManager


Ignore:
Timestamp:
01/10/12 16:38:29 (7 years ago)
Author:
mnagni
Message:

fixes a error "%d format: a number is required, not unicode"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/MolesManager/trunk/cedaMoles/MolesManager/views/moles2gui/om/period.py

    r8537 r8589  
    5454        position = cedaObject.begin.position.date8601 
    5555        self.startDate = self.dataFormat \ 
    56             % (position.year, position.month, position.day, \ 
     56            % (int(position.year), int(position.month), int(position.day), \ 
    5757               getattr(position, 'hour', 0), getattr(position, 'minute', 0), getattr(position, 'second', 0)) 
    5858 
    5959        position = cedaObject.end.position.date8601 
    6060        self.endDate = self.dataFormat \ 
    61             % (position.year, position.month, position.day, \ 
     61            % (int(position.year), int(position.month), int(position.day), \ 
    6262               getattr(position, 'hour', 0), getattr(position, 'minute', 0), getattr(position, 'second', 0)) 
    6363             
Note: See TracChangeset for help on using the changeset viewer.