mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-31 10:26:39 +01:00
Updated for int
This commit is contained in:
parent
99e8078735
commit
c6daead1c5
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ class Utilities(Configs):
|
|||
|
||||
def get_file_size(self, file: Path) -> str:
|
||||
""" Get the local file size and converted to units. """
|
||||
size = Path(file).stat().st_size
|
||||
size: int = file.stat().st_size
|
||||
return self.convert_file_sizes(size)
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Reference in a new issue