Skip to content

Commit 881de5b

Browse files
authored
Add files via upload
1 parent 33ae379 commit 881de5b

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

pycatfile.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3940,8 +3940,7 @@ def TarFileCheck(infile):
39403940
if pos is not None and hasattr(infile, "seek"):
39413941
infile.seek(pos)
39423942
except Exception:
3943-
return False
3944-
3943+
pass
39453944

39463945
def ZipFileCheck(infile):
39473946
try:

pycatfile_py3.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3210,8 +3210,7 @@ def TarFileCheck(infile):
32103210
if pos is not None and hasattr(infile, "seek"):
32113211
infile.seek(pos)
32123212
except Exception:
3213-
return False
3214-
3213+
pass
32153214

32163215
def ZipFileCheck(infile):
32173216
try:

0 commit comments

Comments
 (0)