Rename location.py to kysdk-location, and adjust manual

This commit is contained in:
xibowen 2023-08-11 15:21:04 +08:00
parent 072af99aa0
commit aaf72ae7c7
3 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,7 @@ Type=dbus
Restart=always
RestartSec=0
BusName=com.kysdk.location
ExecStart=/usr/bin/python3 /usr/bin/location.py
ExecStart=/usr/bin/python3 /usr/bin/kysdk-location
[Install]
WantedBy=multi-user.target

View File

@ -1,4 +1,5 @@
# -*- coding: UTF-8 -*-
#!/usr/bin/python3
# -- coding: UTF-8 --
from base64 import decode
from email.utils import getaddresses
from time import sleep