Add datetime field to Details
This commit is contained in:
parent
24ab551694
commit
0238392059
1 changed files with 2 additions and 1 deletions
|
|
@ -17,7 +17,7 @@
|
|||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
from datetime import datetime
|
||||
from .base import CapBaseObject
|
||||
from .collection import ICapCollection, CollectionNotFound
|
||||
|
||||
|
|
@ -36,6 +36,7 @@ class Detail(CapBaseObject):
|
|||
CapBaseObject.__init__(self, 0)
|
||||
self.add_field('label', basestring)
|
||||
self.add_field('infos', basestring)
|
||||
self.add_field('datetime', datetime)
|
||||
self.add_field('price', float)
|
||||
|
||||
class Subscription(CapBaseObject):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue