Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
d04ea4c3
Verified
Commit
d04ea4c3
authored
Sep 26, 2018
by
Sébastiaan Versteeg
Browse files
Remove print statement, right settings import
parent
46515897
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/events/services.py
View file @
d04ea4c3
...
...
@@ -10,7 +10,7 @@ from django.utils.translation import ugettext_lazy as _, get_language
from
events
import
emails
from
events.exceptions
import
RegistrationError
from
events.models
import
Registration
,
RegistrationInformationField
from
thaliawebsite.settings
import
settings
from
django.conf
import
settings
def
is_user_registered
(
member
,
event
):
...
...
@@ -247,7 +247,6 @@ def create_google_maps_url(event):
f
"key=
{
settings
.
GOOGLE_MAPS_API_KEY
}
"
)
decoded_key
=
urlsafe_b64decode
(
settings
.
GOOGLE_MAPS_API_SECRET
)
print
(
type
(
decoded_key
))
signature
=
hmac
.
new
(
decoded_key
,
maps_url
.
encode
(),
sha1
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment