Compare commits

...

2 Commits

Author SHA1 Message Date
qo-op 30e206d61d default offer category = CD/DVD 2021-07-02 00:08:35 +02:00
qo-op 864334d06d To work with python 3.6 on Linux Mint
Remove 3.7 definition...
2021-06-30 21:11:04 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3.7
#!/usr/bin/env python3
import argparse, sys, os, getpass, string, random
from os.path import join, dirname

View File

@ -26,7 +26,7 @@ class Offers(CesiumCommon):
data['thumbnail']['_content_type'] = "image/png"
# if category: data['category'] = category
# else:
data['category'] = {"parent":"cat90","localizedNames":{"en":"Fruits & Vegetables","es-ES":"Frutas y Vegetales","fr-FR":"Fruits & Légumes"},"name":"Fruits & Légumes","id":"cat92"}
data['category'] = {"parent":"cat24","localizedNames":{"en":"DVD / Films","es-ES":"DVDs / Cine","fr-FR":"DVD / Films"},"name":"DVD / Films","id":"cat25"}
if price: data['price'] = float(price) * 100
data['type'] = 'offer'
data['time'] = timeSent