Fix if on find_index

This commit is contained in:
David Todd 2016-04-26 12:30:30 -05:00
parent 8df6301f64
commit ddd4da9d9d
No known key found for this signature in database
GPG Key ID: 48E847F18074C953

View File

@ -28,7 +28,7 @@ config = {
# Find the index number of a column in a row and return that
def find_index(row=None, col=None):
if ((row == None) | (col == None)) | ((type(row) != '' | type(col) != ''):
if ((row == None) | (col == None)) | ((type(row) != '') | (type(col) != '')):
raise ValueError('find_index requires both row and col to be set to strings')
exit(1)