From 8b3a2c9fed891ae8f5a95af1258d61dd63388161 Mon Sep 17 00:00:00 2001 From: Kristopher Rand Date: Thu, 24 Oct 2024 10:15:05 -0400 Subject: [PATCH] #36 small adjustment --- catalogbuilder/intakebuilder/gfdlcrawler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalogbuilder/intakebuilder/gfdlcrawler.py b/catalogbuilder/intakebuilder/gfdlcrawler.py index e560191..5c1a7d1 100644 --- a/catalogbuilder/intakebuilder/gfdlcrawler.py +++ b/catalogbuilder/intakebuilder/gfdlcrawler.py @@ -79,7 +79,7 @@ def crawlLocal(projectdir, dictFilter,dictFilterIgnore,logger,configyaml,slow): continue #if our filename expectations are not met compared to the output_file_path_template in config, skip the loop. TODO revisit for statics if ("static" not in filename): - splitchar = "_" if "/uda" in filename else "." + splitchar = "_" if "/uda" in filepath else "." if ((len(filename.split(splitchar))-1) != len(set_ftemplate)): logger.debug("Skipping "+filename) continue