aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xjson_diff.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/json_diff.py b/json_diff.py
index 70950ab..7fb1922 100755
--- a/json_diff.py
+++ b/json_diff.py
@@ -33,7 +33,7 @@ import logging
from optparse import OptionParser
__author__ = "Matěj Cepl"
-__version__ = "1.3.7"
+__version__ = "1.3.8"
logging.basicConfig(format='%(levelname)s:%(funcName)s:%(message)s',
level=logging.INFO)
@@ -329,7 +329,7 @@ class Comparator(object):
return self._filter_results(result)
-def main(sys_args):
+def main(sys_args=None):
"""Main function, to process command line arguments etc."""
usage = "usage: %prog [options] old.json new.json"
parser = OptionParser(usage=usage)