Skip to content

Commit

Permalink
Explicity log if no lookup tables found.
Browse files Browse the repository at this point in the history
  • Loading branch information
gertjanklein committed May 24, 2020
1 parent b41759f commit 9d68ca2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions copy-iris-items.pyw
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,10 @@ def save_deployable_settings(config):
def save_lookup_tables(config):
logging.info('Loading list of lookup tables')
tables = data_handler.list_lookup_tables(config.Server, config.Project.lookup)
if not tables:
logging.info('No data lookup tables matching the specifications found.')
return 0

count = 0
for table in tables:
if not table.lower().endswith('.lut'):
Expand Down

0 comments on commit 9d68ca2

Please sign in to comment.