Skip to content

Instantly share code, notes, and snippets.

@SteveClement
Created November 29, 2018 04:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SteveClement/e6ac60e153e9657913000216fc77c6ef to your computer and use it in GitHub Desktop.
Save SteveClement/e6ac60e153e9657913000216fc77c6ef to your computer and use it in GitHub Desktop.
jsonschema script in case it is missing
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from jsonschema.cli import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment