mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-13 22:48:20 +00:00
Minor black formatting issue
This commit is contained in:
parent
993694909a
commit
c89a5d3c3a
@ -25,9 +25,11 @@ def random_string(length):
|
|||||||
[random.choice(string.ascii_letters + string.digits) for _ in range(length)]
|
[random.choice(string.ascii_letters + string.digits) for _ in range(length)]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def list_if(services):
|
def list_if(services):
|
||||||
return json.dumps([service[0] for service in services if service[1]])
|
return json.dumps([service[0] for service in services if service[1]])
|
||||||
|
|
||||||
|
|
||||||
def common_domain(d1, d2):
|
def common_domain(d1, d2):
|
||||||
"""
|
"""
|
||||||
Return the common domain between two domain names.
|
Return the common domain between two domain names.
|
||||||
|
Loading…
Reference in New Issue
Block a user