Skip to content

Commit

Permalink
quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fuziontech committed Mar 25, 2024
1 parent 41b70d4 commit fc28b5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/hobby-ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import digitalocean
import requests


letters = string.ascii_lowercase
random_bit = "".join(random.choice(letters) for i in range(4))
name = f"do-ci-hobby-deploy-{random_bit}"
Expand Down Expand Up @@ -156,7 +157,7 @@ def handle_sigint(self):

def main():
print("Creating droplet on Digitalocean for testing Hobby Deployment")
ht = HobbyTester()
ht = HobbyTester(hostname=hostname)
signal.signal(signal.SIGINT, ht.handle_sigint) # type: ignore
signal.signal(signal.SIGHUP, ht.handle_sigint) # type: ignore
signal.signal(signal.SIGTERM, ht.handle_sigint) # type: ignore
Expand Down

0 comments on commit fc28b5d

Please sign in to comment.