Shorten warning message.

This commit is contained in:
Andrew Hamilton 2021-12-15 08:54:47 +10:00
parent 45a751903b
commit 20f4ab708c

View file

@ -1093,7 +1093,7 @@ def manage_cache(root_path):
with open(checksum_path, "r") as checksum_file: with open(checksum_path, "r") as checksum_file:
cache_checksum = checksum_file.read() cache_checksum = checksum_file.read()
if source_checksum() != cache_checksum: if source_checksum() != cache_checksum:
print("Eris has been changed, so clearing the cache and recalculating all results…") print("Eris has changed, recalculating all results…")
shutil.rmtree(cache_path) shutil.rmtree(cache_path)
if not os.path.exists(cache_path): if not os.path.exists(cache_path):
os.mkdir(cache_path) os.mkdir(cache_path)