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 in 468afe4840.

This comment hasn't been updated since
c4b886d8ae, so probably we just forgot to
refresh it when custom emoji export was added.
This commit is contained in:
Mateusz Mandera 2024-07-21 21:48:59 +02:00 committed by Tim Abbott
parent 8b489f4b96
commit f50104d475
1 changed files with 2 additions and 3 deletions

View File

@ -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,