Skip to content

Commit

Permalink
Minor corrections.
Browse files Browse the repository at this point in the history
  • Loading branch information
popovaan committed Oct 29, 2024
1 parent 55f1ddf commit 8167c08
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/backend/backend_ga.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def send(self, message: Message):
if self.backend_url.lower().startswith('http'):
req = request.Request(self.backend_url, data=data)
else:
log.warning("Incorrect backend URL.")
log.info("Incorrect backend URL.")
return

request.urlopen(req) #nosec
Expand Down
2 changes: 1 addition & 1 deletion src/backend/backend_ga4.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def send(self, message: dict):
if self.backend_url.lower().startswith('http'):
req = request.Request(self.backend_url, data=data)
else:
log.warning("Incorrect backend URL.")
log.info("Incorrect backend URL.")
return

request.urlopen(req) # nosec
Expand Down
6 changes: 3 additions & 3 deletions src/utils/opt_in_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ def consent_file_base_dir():
dir_to_check = Path.home()

if dir_to_check is None:
log.warning('Failed to find location of the openvino_telemetry file.')
log.info('Failed to find location of the openvino_telemetry file.')
return None

consent_base_dir = os.path.expandvars(dir_to_check)
if not os.path.isdir(consent_base_dir):
log.warning('Failed to find location of the openvino_telemetry file.')
log.info('Failed to find location of the openvino_telemetry file.')
return None

return consent_base_dir
Expand All @@ -118,7 +118,7 @@ def consent_file_subdirectory():
return 'Intel Corporation'
elif platform in ['Linux', 'Darwin']:
return 'intel'
log.warning('Failed to find location of the openvino_telemetry file.')
log.info('Failed to find location of the openvino_telemetry file.')
return None

def consent_file(self):
Expand Down

0 comments on commit 8167c08

Please sign in to comment.