Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jdidion committed Jan 6, 2022
1 parent 6ce1411 commit 555efbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xphyle/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1238,9 +1238,9 @@ def xopen(
if mode.readable:
target = check_readable_file(target)
if validate or guess_format:
guess = FORMATS.guess_format_from_file_header(
target
) or FORMATS.guess_compression_format(target)
guess = FORMATS.guess_format_from_file_header(target)
if guess is None:
guess = FORMATS.guess_compression_format(target)
else:
target = check_writable_file(target)
# If overwrite=False, check that the file doesn't already exist
Expand Down

0 comments on commit 555efbd

Please sign in to comment.