Updated for int

This commit is contained in:
Dimitris Zlatanidis 2023-04-26 18:18:41 +03:00
parent 99e8078735
commit c6daead1c5

View file

@ -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