Skip to content

Commit 57af386

Browse files
committed
Fix UnpackError message
1 parent aa74b3b commit 57af386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

axcell/helpers/paper_extractor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __call__(self, source):
3333
try:
3434
self.unpack(source, unpack_path)
3535
except UnpackError as e:
36-
if e.message.startswith('The paper has been withdrawn'):
36+
if e.args[0].startswith('The paper has been withdrawn'):
3737
return 'withdrawn'
3838
return 'no-tex'
3939
html_path = self.root / 'htmls' / subpath / 'index.html'

0 commit comments

Comments
 (0)