Update ip
This commit is contained in:
parent
4b5ecf2d55
commit
6259c030c8
|
@ -7,7 +7,7 @@ def main():
|
||||||
for changes in watch('./images'):
|
for changes in watch('./images'):
|
||||||
print(changes)
|
print(changes)
|
||||||
for change in changes:
|
for change in changes:
|
||||||
url = 'http://127.0.0.1:8000/upload'
|
url = 'http://10.1.1.100:8000/upload'
|
||||||
file = {'file': open(change[1], 'rb')}
|
file = {'file': open(change[1], 'rb')}
|
||||||
resp = requests.post(url=url, files=file)
|
resp = requests.post(url=url, files=file)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue