Skip to content

Commit

Permalink
Added exiting command
Browse files Browse the repository at this point in the history
  • Loading branch information
nkphysics committed Dec 24, 2021
1 parent 2fde53e commit 7f2fd41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions autoNICER.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ def command_center(self):
self.sel_obs(i)
elif enter[0] == "rm":
self.rm_obs(enter[1])
elif enter[0] == "exit":
exit()
else:
try:
if int(enter[0]) > (10**8):
Expand Down

0 comments on commit 7f2fd41

Please sign in to comment.