Commit 91d197cc authored by Eliot Berriot's avatar Eliot Berriot 💬

Fixed pyinstaller build

parent c33d297f
Pipeline #4591 passed with stages
in 1 minute and 45 seconds
......@@ -4,7 +4,7 @@ block_cipher = None
a = Analysis(
["funkwhale_cli/cli.py"],
["funkwhale_cli/cli/__init__.py"],
pathex=["/home/eliotberriot/projects/funkwhale/cli"],
binaries=[],
datas=[],
......
......@@ -22,3 +22,7 @@ __all__ = [
"users",
"cli",
]
if __name__ == "__main__":
cli()
......@@ -492,7 +492,3 @@ async def get_user_info(ctx):
async with ctx.obj["remote"].request("get", "api/v1/users/users/me/") as result:
result.raise_for_status()
return await result.json()
if __name__ == "__main__":
cli()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment