Open jgustine opened 7 years ago
Checking for empty table lists fixed the issue on 1st run...
featureClasses = arcpy.ListFeatureClasses(wildcard)
print featureClasses
if featureClasses == None:
featureClasses = []
tables = arcpy.ListTables(wildcard)
print tables
if tables == None:
tables = []
Hi james,
Just working my way thru your great script and stuck on getSurveyTables. This is a 1st run of the tool, so there are no feature classes or tables to get. The listFeatureClasses and ListTables functions return 'None'. So the allTables.extend fails on the None Type.
Will this script create the feature classes and tables if they don't exist?