Skip to content

Commit f5b47d1

Browse files
committed
[melobot] Fix bugs in importing caches getting
1 parent c59d244 commit f5b47d1

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/melobot/_imp.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,6 @@ def import_mod(
288288
pre_cache_len = ModuleCacher().get_len()
289289

290290
if path is not None:
291-
if load_cache and (mod_cache := Importer.get_cache(Path(path))) is not None:
292-
return mod_cache
293-
294291
try:
295292
sep = name.rindex(".")
296293
Importer.import_mod(name[:sep], Path(path).parent, True, True)

src/melobot/_meta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
from .typ import T
66

7-
__version__ = "3.0.0rc19"
7+
__version__ = "3.0.0rc20"
88

99

1010
def _version_str_to_info(s: str) -> VersionInfo:

0 commit comments

Comments
 (0)