Trying to fix line count

pull/8/head
sgoudham 4 years ago
parent 8b3c954d26
commit 7d6415b41c

@ -108,10 +108,13 @@ async def line_count():
blank = 0 blank = 0
file_amount = 0 file_amount = 0
ENV = "venv" ENV = "venv"
LINUX = [".local", ".git", ".config", ".ssh",
".bash_history", ".env", ".profile", ".mysql_history",
".gitignore", ".viminfo", ".wget-hsts", ".bashrc"]
for path, _, files in os.walk("."): for path, _, files in os.walk("."):
# Ignore any files that are on linux starting with ".local" # Ignore any files that are on linux starting with ".local"
if ".local" in path: if path in LINUX:
continue continue
for name in files: for name in files:

Loading…
Cancel
Save