Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Dramelac authored Oct 22, 2023
1 parent f53ff45 commit 6001890
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exegol/model/ExegolImage.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,11 +569,11 @@ def __setRealSize(self, value: int):
self.__disk_size = self.__processSize(value)

def getRealSize(self) -> str:
"""On-Disk size getter"""
"""Image size getter. If the image is installed, return the on-disk size, otherwise return the remote size"""
return self.__disk_size if self.__is_install else f"[bright_black]~{self.__remote_est_size}[/bright_black]"

def getRealSizeRaw(self) -> str:
"""On-Disk size getter"""
"""Image size getter without color. If the image is installed, return the on-disk size, otherwise return the remote size"""
return self.__disk_size if self.__is_install else self.__remote_est_size

def getDownloadSize(self) -> str:
Expand Down

0 comments on commit 6001890

Please sign in to comment.