Skip to content

Commit 216933b

Browse files
committed
Merge tag '26.6.1' into develop
Hotfix import issue
2 parents 804c0d4 + a3e1bc4 commit 216933b

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)