Skip to content
This repository has been archived by the owner on Jun 6, 2018. It is now read-only.

Commit

Permalink
Correct issues with the SRP merge from v1
Browse files Browse the repository at this point in the history
  • Loading branch information
Adarnof committed Nov 17, 2017
1 parent f961db3 commit 4a94f37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion allianceauth/srp/managers.py
Expand Up @@ -6,7 +6,7 @@
logger = logging.getLogger(__name__)


class srpManager:
class SRPManager:
def __init__(self):
pass

Expand Down
2 changes: 1 addition & 1 deletion allianceauth/srp/views.py
Expand Up @@ -237,7 +237,7 @@ def srp_request_remove(request):
srpuserrequest = SrpUserRequest.objects.get(id=srp_request_id)
stored_fleet_view = srpuserrequest.srp_fleet_main.id
srpuserrequest.delete()
logger.info("Deleted SRP request id %s for user %s" % (srp_request_id, request.user))
logger.info("Deleted SRP request id %s for user %s" % (srp_request_id, request.user))
if stored_fleet_view is None:
logger.error("Unable to delete srp requests for user %s - request matching id not found." % (request.user))
messages.error(request, _('Unable to locate selected SRP request.'))
Expand Down

0 comments on commit 4a94f37

Please sign in to comment.