mirror of https://github.com/zulip/zulip.git
import_realm: Update incorrect comment about emoji dir in exported data.
The emoji dir is present in the data from our export tool. This was added in468afe4840
. This comment hasn't been updated sincec4b886d8ae
, so probably we just forgot to refresh it when custom emoji export was added.
This commit is contained in:
parent
8b489f4b96
commit
f50104d475
|
@ -1458,9 +1458,8 @@ def do_import_realm(import_dir: Path, subdomain: str, processes: int = 1) -> Rea
|
|||
default_user_profile_id=None, # Fail if there is no user set
|
||||
)
|
||||
|
||||
# We need to have this check as the emoji files are only present in the data
|
||||
# importer from Slack
|
||||
# For Zulip export, this doesn't exist
|
||||
# We need to have this check as the emoji files may not
|
||||
# be present in import data from other services.
|
||||
if os.path.exists(os.path.join(import_dir, "emoji")):
|
||||
import_uploads(
|
||||
realm,
|
||||
|
|
Loading…
Reference in New Issue