Skip to content
This repository has been archived by the owner on May 5, 2024. It is now read-only.

Commit

Permalink
Update boston-housing-0_1_1.py
Browse files Browse the repository at this point in the history
removed unescarry try except
  • Loading branch information
LuposX authored Sep 12, 2019
1 parent dd41e64 commit e740388
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions boston-housing-0_1_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,11 +441,8 @@ def getter_viszualtion(self) -> list:
file_list.append(line)
except FileNotFoundError as e:
print("Errot file not found: ", str(e))
try:
if visualize_process.is_alive():
visualize_process.terminate()
except Exception as e:
pass
if visualize_process.is_alive():
visualize_process.terminate()
sys.exit(1) # exit the script sucessful

try:
Expand Down

0 comments on commit e740388

Please sign in to comment.