Skip to content

Commit

Permalink
Fix option
Browse files Browse the repository at this point in the history
  • Loading branch information
skatsaounis committed May 21, 2020
1 parent 4e25e60 commit 4fa0b87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patchman/management/commands/set_site.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def handle(self, *args, **options):
try:
Site.objects.filter(pk=settings.SITE_ID).update(
name=options['site_name'], domain=options['site_name'])
if options['claer_cache']:
if options['clear_cache']:
Site.objects.clear_cache()
except Exception as e:
raise CommandError('Failed to update Site name', str(e))

0 comments on commit 4fa0b87

Please sign in to comment.