mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-12-22 10:40:44 -06:00
fix: actually use size in cache info
This commit is contained in:
parent
cbef848b2a
commit
7b5d4adb7e
1 changed files with 3 additions and 2 deletions
|
@ -55,7 +55,7 @@ from typing import (
|
||||||
from urllib.error import HTTPError
|
from urllib.error import HTTPError
|
||||||
from urllib.request import urlopen
|
from urllib.request import urlopen
|
||||||
|
|
||||||
__version__ = "23.8a3-15-gfaca36d-dev"
|
__version__ = "23.8a3-16-gcbef848-dev"
|
||||||
|
|
||||||
|
|
||||||
class Spinner:
|
class Spinner:
|
||||||
|
@ -1474,7 +1474,8 @@ class Viv:
|
||||||
|
|
||||||
if not metadata_file.is_file():
|
if not metadata_file.is_file():
|
||||||
err_quit(f"Unable to find metadata for vivenv: {vivenv_id}")
|
err_quit(f"Unable to find metadata for vivenv: {vivenv_id}")
|
||||||
|
if size:
|
||||||
|
vivenv.get_size()
|
||||||
if use_json:
|
if use_json:
|
||||||
sys.stdout.write(json.dumps(vivenv.meta.__dict__))
|
sys.stdout.write(json.dumps(vivenv.meta.__dict__))
|
||||||
elif path:
|
elif path:
|
||||||
|
|
Loading…
Reference in a new issue