Skip to content

Commit bf3352a

Browse files
author
Javier Duran
committed
Appying changes proposed by abministrators
1 parent 0959996 commit bf3352a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

astroquery/esa/xmm_newton/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,9 +423,9 @@ def get_epic_spectra(self, filename, source_number, *,
423423

424424
except FileNotFoundError:
425425
log.error("File %s not found" % (filename))
426-
return None
426+
return
427427

428-
if ret is None or ret == {}:
428+
if not ret:
429429
log.info("Nothing to extract with the given parameters:\n"
430430
" PPS: %s\n"
431431
" Source Number: %u\n"

0 commit comments

Comments
 (0)