utils.py 156 B

1234567891011
  1. import os
  2. try:
  3. import ujson as json
  4. except ImportError:
  5. import json
  6. import config
  7. def get_path(*c):
  8. return os.path.join(config.DATA_DIR, *c)