misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
967ba3a7a5
commit
8ef1f0f377
@ -38,7 +38,6 @@ def on_internet_available(ui, keypair, config, log):
|
|||||||
}
|
}
|
||||||
|
|
||||||
logging.info("api: enrolling unit to %s ..." % api_address)
|
logging.info("api: enrolling unit to %s ..." % api_address)
|
||||||
|
|
||||||
r = requests.post(api_address, json=enroll)
|
r = requests.post(api_address, json=enroll)
|
||||||
if r.status_code == 200:
|
if r.status_code == 200:
|
||||||
token = r.json()
|
token = r.json()
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
rm -rf build dist ergo_nn.egg-info &&
|
rm -rf build dist pwnagotchi.egg-info &&
|
||||||
python3 setup.py sdist bdist_wheel &&
|
python3 setup.py sdist bdist_wheel &&
|
||||||
clear &&
|
clear &&
|
||||||
twine upload dist/*
|
twine upload dist/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user