Skip to content

Commit

Permalink
Fix dirname
Browse files Browse the repository at this point in the history
  • Loading branch information
bhilbert4 committed Aug 16, 2024
1 parent 4f36a6b commit f5c08e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jwql/website/apps/jwql/clean_old_log_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ def run(time_limit=timedelta(days=14), dry_run=False):
# This should cover the dev server as well as local machines
subdir = 'dev'

#log_dir = os.path.join(LOG_BASE_DIR, subdir)
log_dir = '/ifs/jwst/wit/nircam/hilbert/jwql/test_logs/dev'
log_dir = os.path.join(LOG_BASE_DIR, subdir)
for logtype in os.scandir(log_dir):
if logtype.is_dir():
for item in os.scandir(logtype):
Expand Down

0 comments on commit f5c08e3

Please sign in to comment.