Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion datafaker/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def parse_args():
parser.print_help()
exit(0)

if args.format == JSON_FORMAT and any([args.outprint, args.dbtype in ['file', 'kafka']]):
if args.format == JSON_FORMAT and any([args.outprint, args.dbtype not in ['file', 'kafka']]):
raise ParamError('rdb not support for json format')
if args.metaj and args.dbtype not in ['file', 'kafka']:
raise ParamError('rdb not support for metaj')
Expand Down