mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-19 03:42:25 -06:00
Closes #2614: Simplify calls of super() for Python 3
This commit is contained in:
@@ -228,7 +228,7 @@ class SecretBulkImportView(BulkImportView):
|
||||
messages.error(request, "No session key found for this user.")
|
||||
|
||||
if self.master_key is not None:
|
||||
return super(SecretBulkImportView, self).post(request)
|
||||
return super().post(request)
|
||||
else:
|
||||
messages.error(request, "Invalid private key! Unable to encrypt secret data.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user