Minor fixes

This commit is contained in:
MatOgr 2022-12-30 03:19:59 +01:00
parent c8fba03f77
commit cf2ea05cb4
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
chmod +x just_do_everything.py
echo "### Creating venv is probably a good idea - let's make one..."
python3 -m venv gitea_venv
source gitea_venv/bin/activate
source ./gitea_venv/bin/activate
echo "### Now install hcloud module..."
pip install -q hcloud
echo "### And clear last deployment results..."

View File

@ -1,4 +1,4 @@
#!/bin/pythonS
#!/bin/python3
from hcloud import Client, APIException
from hcloud.images.domain import Image
from hcloud.networks.domain import NetworkSubnet
@ -229,7 +229,7 @@ def remove_gitea_server(client, server_name):
if __name__ == "__main__":
client = create_client("./token_file")
client = create_client("../tokens/token_file")
action = sys.argv[-1]