util.py 203B

12345678
  1. # coding: utf-8
  2. import os
  3. def get_map_file_path_from_dir(map_dir_path: str) -> str:
  4. # TODO: path is temp here
  5. return '{}.tmx'.format(os.path.join(map_dir_path, os.path.basename(map_dir_path)))