Skip to content

Commit 2777f6c

Browse files
committed
review
1 parent 2863d19 commit 2777f6c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

roboflow/core/version.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -823,8 +823,7 @@ def __download_zip(self, link, location, format):
823823
def bar_progress(current, total, width=80):
824824
progress_message = (
825825
"Downloading Dataset Version Zip in "
826-
f"{location} to "
827-
f"{format}: "
826+
f"{location} to {format}: "
828827
f"{current/total*100:.0f}% [{current} / {total}] bytes"
829828
)
830829
sys.stdout.write("\r" + progress_message)

roboflow/deployment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def is_valid_ISO8601_timestamp(ts):
1010
try:
1111
datetime.fromisoformat(ts)
1212
return True
13-
except: # noqa: E722
13+
except (ValueError, TypeError):
1414
return False
1515

1616

0 commit comments

Comments
 (0)