Skip to content

Commit fc4d343

Browse files
committed
DNM
1 parent e534db0 commit fc4d343

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

demo/_synctiles.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
if TYPE_CHECKING:
5858
from mypy_boto3_s3.service_resource import Object
5959

60-
STAMP_VERSION = 'size-510' # change to retile without OpenSlide version bump
60+
STAMP_VERSION = 'threads2' # change to retile without OpenSlide version bump
6161
CORS_ORIGINS = ['*']
6262
DOWNLOAD_BASE_URL = 'https://openslide.cs.cmu.edu/download/openslide-testdata/'
6363
DOWNLOAD_INDEX = 'index.json'
@@ -290,6 +290,8 @@ def sync(self) -> PurePath:
290290
icc_profile=tile.info.get('icc_profile'),
291291
)
292292
new_md5 = md5(buf.getbuffer())
293+
if new_md5.hexdigest().endswith('00'):
294+
raise Exception('hi')
293295
if self.cur_md5 != new_md5.hexdigest():
294296
self.storage.object(self.key_name).put(
295297
Body=buf.getvalue(),

0 commit comments

Comments
 (0)