Skip to content

Commit a3e1bc4

Browse files
committed
Merge branch 'hotfix/26.6.1'
2 parents 83bc0bb + 5fb916e commit a3e1bc4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

osf/models/files.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -448,10 +448,10 @@ def should_update_search(self):
448448

449449
def update_search(self):
450450
update_share(self)
451-
from website import search
451+
from website.search import search, exceptions
452452
try:
453-
search.search.update_file(self)
454-
except search.exceptions.SearchUnavailableError as e:
453+
search.update_file(self)
454+
except exceptions.SearchUnavailableError as e:
455455
logger.exception(e)
456456
sentry.log_exception(e)
457457

0 commit comments

Comments
 (0)