mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-12-28 22:15:40 +00:00
Fix #236
This commit is contained in:
parent
5354d27f88
commit
060e0917bc
@ -196,6 +196,9 @@ def email_to_gravatar_url(email="", size=100):
|
||||
"""
|
||||
AD doesn't necessarily have email
|
||||
"""
|
||||
if email is None:
|
||||
email = ""
|
||||
|
||||
hash_string = hashlib.md5(email.encode('utf-8')).hexdigest()
|
||||
return "https://s.gravatar.com/avatar/{0}?s={1}".format(hash_string, size)
|
||||
|
||||
|
@ -9,7 +9,6 @@ services:
|
||||
container_name: powerdns-admin
|
||||
mem_limit: 256M
|
||||
memswap_limit: 256M
|
||||
tty: true
|
||||
command: /usr/bin/supervisord -c /etc/supervisord.conf
|
||||
ports:
|
||||
- "9191:9191"
|
||||
|
Loading…
Reference in New Issue
Block a user