mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
removed unused argument 'log_errors'
This commit is contained in:
parent
0291d2a705
commit
09519c25a8
1 changed files with 2 additions and 2 deletions
|
|
@ -495,7 +495,7 @@ def _check_ftrack_url(url):
|
|||
return True
|
||||
|
||||
|
||||
def resolve_ftrack_url(url, log_errors=True, logger=None):
|
||||
def resolve_ftrack_url(url, logger=None):
|
||||
"""Checks if Ftrack server is responding."""
|
||||
|
||||
if logger is None:
|
||||
|
|
@ -521,7 +521,7 @@ def resolve_ftrack_url(url, log_errors=True, logger=None):
|
|||
if ftrack_url:
|
||||
logger.debug("Ftrack server \"{}\" is accessible.".format(ftrack_url))
|
||||
|
||||
elif log_errors:
|
||||
else:
|
||||
logger.error("Ftrack server \"{}\" is not accessible!".format(url))
|
||||
|
||||
return ftrack_url
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue