mitchellolsthoorn / tribler

Privacy with BitTorrent and resilient to shut down
http://www.tribler.org
GNU Lesser General Public License v3.0
1 stars 1 forks source link

Price float bug #33

Closed StefanBoodt closed 8 years ago

StefanBoodt commented 8 years ago

Please, fill all relevant items:

Triller feature/market

Operating system and version:

Ubuntu 14.04

Expected behavior:

The float method in price returns a float.

Actual behavior:

The float method in price returns a Decimal.

Steps to reproduce the behavior:

Call float(price) somewhere. Additionally isinstance can be called.

Relevant log file output:

TypeError: float returned non-float (type Decimal)

mitchellolsthoorn commented 8 years ago

Fixed the problem,if it works close the issue please

StefanBoodt commented 8 years ago

I saw. It seems to work now.