nix

configuration files that power my machines
Log | Files | Refs | README | LICENSE

fix_titles (227B)


      1 #!/usr/bin/env python
      2 
      3 import json
      4 
      5 c = json.load(open('hack/titles.json'))
      6 for k, v in c.items():
      7     if not v and '?' in k:
      8         c[k] = k.split('=')[-1]
      9 json.dump(c, open('titles.json', 'w'), indent=2, ensure_ascii=False)