debug tree headers
This commit is contained in:
parent
c3f9705f7b
commit
f661055ced
1 changed files with 4 additions and 4 deletions
|
@ -5,13 +5,13 @@ class TreePopupMenu(ListMDDialog):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
|
||||||
# Set all of the fields of tree data
|
# Set all of the fields of tree data
|
||||||
#headers = "Name,Lat,Lon,Description"
|
headers = "Name,Lat,Lon,Description"
|
||||||
#headers = headers.split(',')
|
#headers = "FMID,MarketName,Website,Facebook,Twitter,Youtube,OtherMedia,street,city,County,State,zip,Season1Date,Season1Time,Season2Date,Season2Time,Season3Date,Season3Time,Season4Date,Season4Time,x,y,Location,Credit,WIC,WICcash,SFMNP,SNAP,Organic,Bakedgoods,Cheese,Crafts,Flowers,Eggs,Seafood,Herbs,Vegetables,Honey,Jams,Maple,Meat,Nursery,Nuts,Plants,Poultry,Prepared,Soap,Trees,Wine,Coffee,Beans,Fruits,Grains,Juices,Mushrooms,PetFood,Tofu,WildHarvested,updateTime"
|
||||||
# Set all of the fields of market data
|
|
||||||
headers = "FMID,MarketName,Website,Facebook,Twitter,Youtube,OtherMedia,street,city,County,State,zip,Season1Date,Season1Time,Season2Date,Season2Time,Season3Date,Season3Time,Season4Date,Season4Time,x,y,Location,Credit,WIC,WICcash,SFMNP,SNAP,Organic,Bakedgoods,Cheese,Crafts,Flowers,Eggs,Seafood,Herbs,Vegetables,Honey,Jams,Maple,Meat,Nursery,Nuts,Plants,Poultry,Prepared,Soap,Trees,Wine,Coffee,Beans,Fruits,Grains,Juices,Mushrooms,PetFood,Tofu,WildHarvested,updateTime"
|
|
||||||
headers = headers.split(',')
|
headers = headers.split(',')
|
||||||
|
|
||||||
for i in range(len(headers)):
|
for i in range(len(headers)):
|
||||||
attribute_name = headers[i]
|
attribute_name = headers[i]
|
||||||
|
print("attr name " + attribute_name)
|
||||||
attribute_value = tree_data[i]
|
attribute_value = tree_data[i]
|
||||||
|
print("attr value " + attribute_value)
|
||||||
setattr(self, attribute_name, attribute_value)
|
setattr(self, attribute_name, attribute_value)
|
||||||
|
|
Loading…
Reference in a new issue