Skip to content

Commit

Permalink
remove .name error in logging
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholascar committed Jan 19, 2022
1 parent 338bf54 commit e82180f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pylode/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def main(args=None):

# args are present so getting RDF from input file or uri into an rdflib Graph
if args.inputfile:
logger.log(logging.DEBUG, f"args.inputfile: {args.inputfile.name}")
logger.log(logging.DEBUG, f"args.inputfile: {args.inputfile}")
h = MakeDocco(
input_data_file=args.inputfile,
outputformat=args.outputformat,
Expand All @@ -171,7 +171,7 @@ def main(args=None):
get_curies_online=get_curies_online,
)
elif args.url:
logger.log(logging.DEBUG, f"args.url: {args.url.name}")
logger.log(logging.DEBUG, f"args.url: {args.url}")
h = MakeDocco(
input_uri=args.url,
outputformat=args.outputformat,
Expand Down

0 comments on commit e82180f

Please sign in to comment.