Skip to content

Commit 4ccd5e0

Browse files
committedJan 16, 2025·
Minor correction.
1 parent 538b8a4 commit 4ccd5e0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
 

‎src/utils/stats_processor.py

-3
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ def update_stats(self, stats: dict):
5959
if not self.create_new_stats_file():
6060
return False
6161
if not os.access(self.stats_file(), os.W_OK):
62-
log.warning("Failed to usage statistics. "
63-
"Please allow write access to the following file: {}".format(self.stats_file()))
6462
return False
6563
try:
6664
str_data = json.dumps(stats, indent=4)
@@ -93,6 +91,5 @@ def remove_stats_file(self):
9391
stats_file = self.stats_file()
9492
if os.path.exists(stats_file):
9593
if not os.access(stats_file, os.W_OK):
96-
log.warning("Failed to remove statistics file {}.".format(stats_file))
9794
return
9895
os.remove(stats_file)

0 commit comments

Comments
 (0)