Verbage change

This commit is contained in:
David Todd 2016-04-26 12:33:50 -05:00
parent ddd4da9d9d
commit 9c40cf260e
No known key found for this signature in database
GPG Key ID: 48E847F18074C953
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
ERP Contact Import Tool
=======================
This utility fixes the contacts csv file for importing into the ERP
This utility fixes the contacts csv file for importing into our ERP (Odoo)
Specifically this utility will replace all the values in a csv column with a dictionary created through another csv file
Copyright (c) 2016 David Todd (alopexc0de) https://c0defox.es

View File

@ -1,5 +1,5 @@
# ERP Contact Import Tool
# This utility fixes the contacts csv file for importing into the ERP
# This utility fixes the contacts csv file for importing into our ERP (Odoo)
# Specifically this utility is for the step of replacing the company names with their export_ids after the companies have been imported
# Copyright (c) 2016 David Todd (alopexc0de) https://c0defox.es
@ -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(str)) | (type(col) != type(str))):
raise ValueError('find_index requires both row and col to be set to strings')
exit(1)