Hi !!
I have a quick question, please.
Does the "trade.py export" command export the CSV files to Maddavo's database ?
By the way, I am also trying to upload my shipvendor.csv through Maddavo's website but it is not working.
No. The export command just exports the specified table data in your local DB to csv files. Eg to export your Station table into a Station.csv, use:
Code:
trade export --table Station
Code:
trade import -P maddavo -O corrections,stations,shipvendors,exportcsv
To upload files, use the following:
Code:
python -m misc.madupload data/Station.csv
If you want to make a shortcut batch file, then try this:
Code:
echo python -m misc.madupload data/ShipVendor.csv > upships.bat
Then whenever you want to upload your shipvendor file you just type:
Code:
upships
In this way I have made shortcut commands "madimport", "upships", "upstations", "upprices".