diff --git a/histories/management/commands/gen_history.py b/histories/management/commands/gen_history.py index 3a2a616..68476ee 100644 --- a/histories/management/commands/gen_history.py +++ b/histories/management/commands/gen_history.py @@ -13,4 +13,4 @@ class Command(BaseCommand): def handle(self, *args, **kwargs): prof = profiles.Profile.objects.all()[0] history = generate_history(prof, datetime.now()) - self.stdout.write(history.to_xml_string()) + print(history.to_xml_string())