from subprocess import call
import json, requests

r = requests.get('https://api-contenidos.lanacion.com.ar/json/V3/economia/cotizacionblue/DBLUE')

if r:
    data = r.json()
    call(["../bluelytics/add_blue.sh", data['compra'], data['venta'], 'invertir_online'])

@@ -225,23 +225,59 @@
 ra'%5D
-, data%5B'venta'%5D
+.replace(',', '.'), data%5B'venta'%5D.replace(',', '.')
 , 'i

Replace comma