Skip to content

Commit 021e48f

Browse files
fix(pre_commit): 🎨 auto format pre-commit hooks
1 parent a8551c0 commit 021e48f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

roboflow/adapters/rfapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def upload_image(
8787
}
8888
)
8989

90-
try:
90+
try:
9191
response = requests.post(upload_url, data=m, headers={"Content-Type": m.content_type}, timeout=(300, 300))
9292
except RequestException as e:
9393
raise ImageUploadError(str(e)) from e

roboflow/core/project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import requests
1212

1313
from roboflow.adapters import rfapi
14-
from roboflow.adapters.rfapi import ImageUploadError, AnnotationSaveError
14+
from roboflow.adapters.rfapi import AnnotationSaveError, ImageUploadError
1515
from roboflow.config import API_URL, DEMO_KEYS
1616
from roboflow.core.version import Version
1717
from roboflow.util.general import Retry

0 commit comments

Comments
 (0)