From 7553fb50b2c0be3879b14011f8be4e1428f2ba8c Mon Sep 17 00:00:00 2001 From: antondmtvch <antondmtvch@gmail.com> Date: Thu, 22 Jun 2023 18:53:12 +0300 Subject: [PATCH] update var name --- fix_imports.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fix_imports.py b/fix_imports.py index d5416a1..982a16d 100644 --- a/fix_imports.py +++ b/fix_imports.py @@ -13,11 +13,11 @@ REGEXP = re.compile( r"( import.*pb2)" ) PERXIS_DIR_NAME = "perxis" -PERXIS_PATH = (Path(__file__).parent.absolute()).joinpath(PERXIS_DIR_NAME) +PERXIS_DIR_PATH = (Path(__file__).parent.absolute()).joinpath(PERXIS_DIR_NAME) def main(): - for path, _, files in os.walk(PERXIS_PATH): + for path, _, files in os.walk(PERXIS_DIR_PATH): for name in files: file_path = os.path.join(path, name) with open(file_path, "r+") as f: -- GitLab