diff --git a/load_spreadsheet.py b/load_spreadsheet.py index 146294c..0259641 100755 --- a/load_spreadsheet.py +++ b/load_spreadsheet.py @@ -259,7 +259,7 @@ def load_into_db(rows, event=None): ) ENGINE=InnoDB CHARSET=utf8 COLLATE=utf8_unicode_ci; ''' if rows is None or len(rows) < 1: - log.warning("**** No data found in spreadsheet ****") + log.warning("**** No data found in spreadsheet {} ****".format(event)) else: db = MySQLdb.connect(user='aac', passwd='saOAcCWHg4LaoSSA', db='AAC', use_unicode=True, charset="utf8")