Explorar el Código

more accurate doc string

Alek Petuskey hace 9 meses
padre
commit
46c6b80e4c
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      reflex/utils/telemetry.py

+ 2 - 2
reflex/utils/telemetry.py

@@ -85,13 +85,13 @@ def get_memory() -> int:
 
 
 def get_folder_size(folder: str) -> int:
-    """Get the total size of a folder in bytes, ignoring 'node_modules' folder.
+    """Get the total number of files in a folder.
 
     Args:
         folder: The path to the folder.
 
     Returns:
-        The total size of the folder in bytes.
+        The total number of files in the folder.
     """
     total_files = 0
     for _, _, filenames in os.walk(folder):