浏览代码

Update emoji.py

master
mirro-chan GitHub 5 年前
父节点
当前提交
bb057c217c
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      emoji.py

+ 1
- 1
emoji.py 查看文件

@@ -24,7 +24,7 @@ def download_emojis(json):
emoji_file.write(emoji["shortcode"] + ", /emoji/" + emoji["shortcode"] + "." + file_extension[1] + "\n") emoji_file.write(emoji["shortcode"] + ", /emoji/" + emoji["shortcode"] + "." + file_extension[1] + "\n")
all_files.append(emoji["shortcode"] + "." + file_extension[1]) all_files.append(emoji["shortcode"] + "." + file_extension[1])
emoji_file.close() emoji_file.close()
answer = input("Do you want me to move them to the right repository for you?(y/n)")
answer = input("Do you want me to move them to the right directory for you?(y/n)")
if answer == "y": if answer == "y":
print("I'm assuming pleroma is in /home/pleroma/pleroma as the tutorial suggests.") print("I'm assuming pleroma is in /home/pleroma/pleroma as the tutorial suggests.")
if os.path.isdir("/home/pleroma/pleroma/priv/static/emoji"): if os.path.isdir("/home/pleroma/pleroma/priv/static/emoji"):


正在加载...
取消
保存