Skip to content

Commit

Permalink
requirement ci fix
Browse files Browse the repository at this point in the history
  • Loading branch information
StarmanMartin committed May 27, 2024
1 parent c6acdaf commit ed569ea
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions converter_app/readers/hplc.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@ def check(self):
break
except ValueError:
return False
if not result:
if os.path.exists(self.temp_dir) and os.path.isdir(self.temp_dir):
shutil.rmtree(self.temp_dir)
if not result and self.temp_dir is not None and os.path.exists(self.temp_dir) and os.path.isdir(self.temp_dir):
shutil.rmtree(self.temp_dir)
return result

def prepare_tables(self):
Expand Down

0 comments on commit ed569ea

Please sign in to comment.