Skip to content

Commit

Permalink
Fixed os.exit bug
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdavidel committed Sep 26, 2020
1 parent aeb8f59 commit a431161
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions POE_QOL2.py
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ def stash_finder(self):
self.pp.pprint("ERROR : {}".format(str(e)))
Msg.showinfo(title=MSG_BOX_TITLE, message=str(e))
# Lets not continue running
os.exit(1)
sys.exit(1)

self.debug_print("Stash tab retrieved")

Expand All @@ -623,7 +623,7 @@ def read_default_chaos_filter_sections(self):
debug_print("Exception reading chaos filter: {}".format(str(e)))
Msg.showinfo('POE QoL error',
"Exception reading chaos filter: {}".format(str(e)))
os.exit(1)
sys.exit(1)



Expand Down Expand Up @@ -674,7 +674,7 @@ def pre_process_item_filter(self):
self.debug_print("User selected a non existant filter file")
Msg.showinfo(
'POE QoL error', 'Could not find your selected filter, try again next time!')
os.exit(1)
sys.exit(1)

self.main_filter_path=main_filter_path

Expand All @@ -694,7 +694,7 @@ def update_filter(self):
"Something went very wrong while updating the filter")
Msg.showinfo(
'POE QoL error', "Something went very wrong while updating the filter")
os.exit(1)
sys.exit(1)
ignore_threshold_list=self.config['Config']['ignore_threshold']
# Copy of the full chaos filter, remove entries from here as we go through the different slots
temp_chaos_filter=copy.copy(self.chaos_filter_parsed)
Expand Down

0 comments on commit a431161

Please sign in to comment.