From 531404e014ba20c92702f3f4296741c57a3286e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E8=80=80=E5=A5=BD?= <2517926599@qq.com> Date: Mon, 22 Jun 2026 13:05:57 +0800 Subject: [PATCH] docs: clarify Python version and update stale shell fallback comment - README.md: state Python 3 with Python 2 compatibility layer instead of the outdated 'written in python2' description. - app_shell/shell.py: replace the stale 'TO REMOVE / TODO FOR MAC' comment with an accurate description of _getutf8lang as a fallback. --- README.md | 2 +- app_shell/shell.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 90d98db..e479f7a 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # DWService - Agent This is [DWService](https://www.dwservice.net) agent for operative systems Linux, Mac and Windows. -The code is written in python2 and several libraries are written c++. +The code is written in Python 3 and maintains a compatibility layer for Python 2; several libraries are written in C++. ## Start the agent diff --git a/app_shell/shell.py b/app_shell/shell.py index b16909e..b78b857 100644 --- a/app_shell/shell.py +++ b/app_shell/shell.py @@ -574,7 +574,7 @@ def _check_login_mac(self,u,p): return False - ##### TO REMOVE 20/08/2022 (moved into native); 15/03/2023 TODO FORM MAC AS WELL + # Fallback when the native implementation does not provide get_utf8_lang. def _getutf8lang(self): altret=None try: