mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
zerver/lib: Change use of typing.Text to str.
This commit is contained in:
committed by
Tim Abbott
parent
2f3b2fbf59
commit
1f9244e060
@@ -4,10 +4,10 @@ from django.conf import settings
|
||||
import hashlib
|
||||
import base64
|
||||
|
||||
from typing import Optional, Text
|
||||
from typing import Optional
|
||||
|
||||
|
||||
def initial_password(email: Text) -> Optional[Text]:
|
||||
def initial_password(email: str) -> Optional[str]:
|
||||
"""Given an email address, returns the initial password for that account, as
|
||||
created by populate_db."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user