minor: Fix directory name label in 'import_emoji_names_from_csv'.

This commit is contained in:
Harshit Bansal 2018-07-12 13:10:51 +00:00 committed by Tim Abbott
parent ab5fef87e5
commit fef5b43e22
1 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ import textwrap
from typing import Any, Dict, List, Set
TOOLS_DIR_PATH = os.path.dirname(os.path.abspath(__file__))
EMOJI_DIR_PATH = os.path.dirname(os.path.abspath(__file__))
ACTIVE_ENTRY = (
"%(explanation)s"
@ -88,11 +88,11 @@ def main() -> None:
parser = argparse.ArgumentParser(description=description)
parser.add_argument(
"--input-file", dest="input_file_path", type=str, metavar="<path>",
default=os.path.join(TOOLS_DIR_PATH, "emoji_names.csv"),
default=os.path.join(EMOJI_DIR_PATH, "emoji_names.csv"),
help="Path to the csv file from which data is to be read.")
parser.add_argument(
"--output-file", dest="output_file_path", type=str, metavar="<path>",
default=os.path.join(TOOLS_DIR_PATH, "emoji_names.py"),
default=os.path.join(EMOJI_DIR_PATH, "emoji_names.py"),
help="Path to the output file.")
args = parser.parse_args()