diff options
author | Lint Action <[email protected]> | 2022-06-09 11:26:03 +0000 |
---|---|---|
committer | Lint Action <[email protected]> | 2022-06-09 11:26:03 +0000 |
commit | f4119aad9936f6b643531073a0b6a469cb0cdbb7 (patch) | |
tree | c29a5005b29b4030a6c72180b854090f67bc61ca /ATRI/plugins/console | |
parent | 27c86197f435438d69fd59d123fd741739400e46 (diff) | |
download | ATRI-f4119aad9936f6b643531073a0b6a469cb0cdbb7.tar.gz ATRI-f4119aad9936f6b643531073a0b6a469cb0cdbb7.tar.bz2 ATRI-f4119aad9936f6b643531073a0b6a469cb0cdbb7.zip |
:rotating_light: 自动进行代码格式化
Diffstat (limited to 'ATRI/plugins/console')
-rw-r--r-- | ATRI/plugins/console/data_source.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ATRI/plugins/console/data_source.py b/ATRI/plugins/console/data_source.py index 86a3813..f6bbf16 100644 --- a/ATRI/plugins/console/data_source.py +++ b/ATRI/plugins/console/data_source.py @@ -30,7 +30,7 @@ class Console(Service): s = None try: s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) - s.connect(('8.8.8.8', 80)) + s.connect(("8.8.8.8", 80)) ip = s.getsockname()[0] return ip finally: |