Reformat using black

This commit is contained in:
cuom1999 2022-05-14 12:57:27 -05:00
parent efee4ad081
commit a87fb49918
221 changed files with 19127 additions and 7310 deletions

View file

@ -4,13 +4,13 @@ from judge.utils.camo import client as camo_client
class Command(BaseCommand):
help = 'obtains the camo url for the specified url'
help = "obtains the camo url for the specified url"
def add_arguments(self, parser):
parser.add_argument('url', help='url to use camo on')
parser.add_argument("url", help="url to use camo on")
def handle(self, *args, **options):
if camo_client is None:
raise CommandError('Camo not available')
raise CommandError("Camo not available")
print(camo_client.image_url(options['url']))
print(camo_client.image_url(options["url"]))