diff --git a/hblink.py b/hblink.py index 0e1bffc..8d333ed 100755 --- a/hblink.py +++ b/hblink.py @@ -1402,7 +1402,7 @@ def mk_server_dict(path,filename): server_ids[_row['OPB Net ID']] = _row['Country'] return(server_ids) except IOError as err: - logger.warning('ID ALIAS MAPPER: %s could not be read due to IOError: %s',file,err) + logger.warning('ID ALIAS MAPPER: %s could not be read due to IOError: %s',filename,err) return(False)