[IMP] base_external_dbsource: pre-commit auto fixes

This commit is contained in:
Anxo82
2024-06-05 13:50:00 +02:00
committed by Ángel Rivas
parent 9a70b9cc40
commit 8893d9c815
14 changed files with 89 additions and 84 deletions

View File

@@ -322,7 +322,7 @@ class BaseExternalDbsource(models.Model):
"""
self.ensure_one()
method = "{}_{}".format(method_prefix, self.connector)
method = f"{method_prefix}_{self.connector}"
try:
return getattr(self, method)