Skip to content

Commit 44b7403

Browse files
Merge pull request #47 from interlynk-io/fix/crash-fix
[NO-TKT] Upload crashes when no format is specified
2 parents 0887641 + 2576f0b commit 44b7403

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylynk.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ def main() -> int:
361361
if not lynk_ctx.validate():
362362
exit(1)
363363

364-
fmt_json = not args.table
364+
fmt_json = not getattr(args, 'table', False)
365365
if args.subcommand == "prods":
366366
print_products(lynk_ctx, fmt_json)
367367
elif args.subcommand == "vers":

0 commit comments

Comments
 (0)