Guest User

Untitled

a guest
Dec 16th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. def code_symbol_map():
  2. with open(os.path.join(settings.PROJECT_ROOT, 'currencies.json')) as f:
  3. codemaps = simplejson.load(f)
  4. return dict([(c['code'], c['symbol']) for c in codemaps])
Add Comment
Please, Sign In to add comment