Dropped use of UTF-8 character √
This commit is contained in:

committed by
Julian Berman

parent
0a7f02f9cc
commit
93977e56f3
@@ -1,5 +1,3 @@
|
||||
# encoding=utf-8
|
||||
|
||||
import argparse
|
||||
import json
|
||||
import sys
|
||||
@@ -10,6 +8,7 @@ from . import (
|
||||
)
|
||||
from .validators import validator_for
|
||||
|
||||
|
||||
def main(args):
|
||||
parser = argparse.ArgumentParser(description='JSON Schema validator')
|
||||
parser.add_argument('schema', help='filename of the JSON Schema')
|
||||
@@ -35,7 +34,7 @@ def main(args):
|
||||
validate(document, schema, validator, format_checker=format_checker)
|
||||
# validate raises if the document is invalid, and will show a Traceback to
|
||||
# the user. If the document is valid, show a congratulating message.
|
||||
print("√ JSON document is valid.")
|
||||
print("JSON document is valid.")
|
||||
|
||||
if __name__ == '__main__':
|
||||
main(sys.argv)
|
||||
|
Reference in New Issue
Block a user