Skip to content

Commit c83957a

Browse files
author
github-actions
committed
Fixup. Format code with Black
1 parent 181d365 commit c83957a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

pod/recorder/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ class RecordingFileTreatment(models.Model):
387387
recursive=True,
388388
unique=True,
389389
help_text=_("Source file of the published video."),
390-
max_length=200
390+
max_length=200,
391391
)
392392
file_size = models.BigIntegerField(_("File size"), default=0)
393393
recorder = models.ForeignKey(

pod/video/management/commands/migrate_bbb_recordings.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,11 @@ def download_bbb_video_file(source_url: str, dest_file: str) -> None:
561561
source_video_url = manage_download(session, source_url, video_file_add, dest_file)
562562
print(" > Video %s downloaded." % source_video_url)
563563
except Exception as e:
564-
err = ("Unable to download %s: %s. %s " % (source_url, str(e), traceback.format_exc()))
564+
err = "Unable to download %s: %s. %s " % (
565+
source_url,
566+
str(e),
567+
traceback.format_exc(),
568+
)
565569
print(err)
566570

567571

0 commit comments

Comments
 (0)