From 18bc0d14cf50adbdffebc34e4d336ab9a5bcc58e Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Mon, 12 Oct 2020 21:03:22 +0530 Subject: [PATCH] fix: remove hardcoded path --- .github/helper/translation.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/helper/translation.py b/.github/helper/translation.py index 4070267137..576716ba38 100644 --- a/.github/helper/translation.py +++ b/.github/helper/translation.py @@ -21,8 +21,6 @@ starts_with_f_pattern = re.compile(r"_\(f") files = sys.argv[1:] files_to_scan = [_file for _file in files if _file.endswith(('.py', '.js'))] -files_to_scan = ['/Users/farisansari/Projects/benches/frappe-bench/apps/frappe/.github/helper/translation.py'] - for _file in files_to_scan: with open(_file, 'r') as f: print(f'Checking: {_file}')