Skip to content

Commit 0517f20

Browse files
author
Abeautifulsnow
committed
Fix bug
1 parent ce54c98 commit 0517f20

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pkgu.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -540,13 +540,13 @@ def get_result(
540540
cache_key = self.get_cache_key(key)
541541

542542
if self.no_cache:
543-
return self.get_result_with_no_cache(key, nocache_fn, param)
543+
return self.get_result_with_no_cache(cache_key, nocache_fn, param)
544544
else:
545545
cache_res = self.get_result_with_cache(cache_key)
546546
if cache_res:
547547
return (cache_res,)
548548
else:
549-
return self.get_result_with_no_cache(key, nocache_fn, param)
549+
return self.get_result_with_no_cache(cache_key, nocache_fn, param)
550550

551551

552552
def print_total_time_elapsed(start_time: float, time_end: Optional[float] = None):

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pkgu"
3-
version = "0.0.21"
3+
version = "0.0.22"
44
description = "Find the out-dated packages installed by the pip tool and update them."
55
authors = ["Abeautifulsnow <lnrunstone.0727@gmail.com>"]
66

0 commit comments

Comments
 (0)