changed to sys.exit

pull/128/head
alanbjohnston 4 years ago committed by GitHub
parent 68885a3b86
commit f837b059d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,6 +5,7 @@
import requests
from os import system
import re
import sys
latitude = 0
longitude = 0
@ -122,4 +123,4 @@ if ((latitude != 0) and (longitude != 0) or grid):
except ValueError:
print("Not an integer!")
return return_value
sys.exit(return_value)

Loading…
Cancel
Save

Powered by TurnKey Linux.