how a directory went to get mime ?
This commit is contained in:
parent
cf4dc86b03
commit
06f2c1b838
|
@ -951,7 +951,7 @@ class GeminiItem():
|
||||||
self.links = []
|
self.links = []
|
||||||
print("We return False because path is too long")
|
print("We return False because path is too long")
|
||||||
return False
|
return False
|
||||||
if os.path.exists(self._cache_path):
|
if os.path.exists(self._cache_path) and not os.path.isdir(self._cache_path):
|
||||||
if validity > 0 :
|
if validity > 0 :
|
||||||
last_modification = self.cache_last_modified()
|
last_modification = self.cache_last_modified()
|
||||||
now = time.time()
|
now = time.time()
|
||||||
|
|
Loading…
Reference in New Issue