mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-11-05 04:48:00 +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)]
|
||||
)
|
||||
|
||||
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user