Went on a PEP-8 rampage
This commit is contained in:
parent
f99ad30fb6
commit
0948c9308a
36 changed files with 186 additions and 218 deletions
|
|
@ -3,6 +3,7 @@ from PIL import Image
|
|||
from io import BytesIO
|
||||
import numpy as np
|
||||
|
||||
|
||||
class APIconnection:
|
||||
def __init__(self, host="localhost", port=5000, api_ver="v1"):
|
||||
self.base = self.build_base(host=host, port=port, api_ver=api_ver)
|
||||
|
|
@ -100,4 +101,4 @@ class APIconnection:
|
|||
return self.post('/camera/zoom', json=json)
|
||||
|
||||
def get_zoom(self):
|
||||
return self.get('/camera/zoom')
|
||||
return self.get('/camera/zoom')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue