Fixing management command.

Django PR removed force_str method: dc8834cad4 (diff-55346957c9b0473492d19a390a7adb47L36)

None is not working now.
This commit is contained in:
Awais Qureshi
2020-03-30 23:10:58 +05:00
committed by GitHub
parent c4914bc2b3
commit 195d225044

View File

@@ -60,7 +60,7 @@ class Command(BaseCommand):
export_course_to_tarfile(course_key, filename)
results = self._get_results(filename) if pipe_results else None
results = self._get_results(filename) if pipe_results else ''
self.stdout.write(results, ending="")