Quickfix for #2865. The problem is not completely solved.
This commit is contained in:
parent
aefd5073a7
commit
acab868c79
@ -73,7 +73,12 @@ class Index:
|
|||||||
pass
|
pass
|
||||||
path = self.get_index_path()
|
path = self.get_index_path()
|
||||||
if path != 'ram' and exists_in(path):
|
if path != 'ram' and exists_in(path):
|
||||||
|
# Quick fix to bypass errors when many clients login.
|
||||||
|
# TODO: Solve this hack.
|
||||||
|
try:
|
||||||
return open_dir(path)
|
return open_dir(path)
|
||||||
|
except FileNotFoundError:
|
||||||
|
pass
|
||||||
return self.create_index()
|
return self.create_index()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user