Skip to content

Commit

Permalink
move self.stdout.write call to logger.info
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanvg committed Feb 15, 2022
1 parent 6d266f4 commit 953419b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/tram/tram/management/commands/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ def handle(self, *args, **options):

user, created = User.objects.get_or_create(username="pipeline (manual)")
if created:
self.stdout.write(
f"Created User '{user.username}' to handle manual submissions"
)
logger.info(f"Created User '{user.username}' to handle manual submissions")

if subcommand == ADD:
filepath = options["file"]
Expand Down

0 comments on commit 953419b

Please sign in to comment.