7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-06-01 22:00:48 +00:00

Minor black formatting issue

This commit is contained in:
Régis Behmo 2019-11-22 09:23:59 +01:00
parent 993694909a
commit c89a5d3c3a

View File

@ -25,9 +25,11 @@ def random_string(length):
[random.choice(string.ascii_letters + string.digits) for _ in range(length)]
)
def list_if(services):
return json.dumps([service[0] for service in services if service[1]])
def common_domain(d1, d2):
"""
Return the common domain between two domain names.