fcitx5: fix update script

oxalica fbedf830 1be94227

+2 -3
+2 -3
pkgs/tools/inputmethods/fcitx5/update.py
··· 1 1 #!/usr/bin/env nix-shell 2 - #!nix-shell -i python3 -p nix-prefetch-github python3Packages.requests 2 + #!nix-shell -i python3 -p nix-update nix-prefetch-github python3Packages.requests 3 3 4 4 from nix_prefetch_github import * 5 5 import json ··· 12 12 OWNER = "fcitx" 13 13 14 14 def get_latest_tag(repo, owner=OWNER): 15 - r = requests.get( 'https://api.github.com/repos/{}/{}/tags'.format(owner,repo) 16 - , auth=('poscat', 'db5e6fd16d0eb8c36385d3d944e058a1178b4265')) 15 + r = requests.get('https://api.github.com/repos/{}/{}/tags'.format(owner,repo)) 17 16 return r.json()[0].get("name") 18 17 19 18 def main():