Skip to content

Commit

Permalink
fix: Use correct log info method (ietf-tools#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
kesara authored Oct 2, 2024
1 parent 40c2914 commit b330dfd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions svgcheck/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def clear_cache(cache_path):
path = os.path.join(dir, CACHE_PREFIX)
if os.access(path, os.W_OK):
shutil.rmtree(path)
log.write('Deleted cache directory at', path)
log.info('Deleted cache directory at', path)
sys.exit()


Expand Down Expand Up @@ -89,8 +89,8 @@ def main():
try:
os.makedirs(options.cache)
if options.verbose:
log.write('Created cache directory at',
options.cache)
log.info('Created cache directory at',
options.cache)
except OSError as e:
print('Unable to make cache directory: %s ' % options.cache)
print(e)
Expand Down

0 comments on commit b330dfd

Please sign in to comment.