AttributeError: 'bool' object has no attribute 'replace'
REQUEST_DATE: 2024-01-22 16:16:24 PAN_VERSION: 7.9.0 OS_VERSION: Windows Server 2022 Datacenter (build 20348) x64 (Py3.8.6) REMOTE_ADDR: 89.213.179.133 REQUEST_URI: GET /?REQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36Traceback (most recent call last): File "C:\Program Files\python\lib\site-packages\flask\app.py", line 2447, in wsgi_app response = self.full_dispatch_request() File "C:\Program Files\python\lib\site-packages\flask\app.py", line 1952, in full_dispatch_request rv = self.handle_user_exception(e) File "C:\Program Files\python\lib\site-packages\flask\app.py", line 1821, in handle_user_exception reraise(exc_type, exc_value, tb) File "C:\Program Files\python\lib\site-packages\flask\_compat.py", line 39, in reraise raise value File "C:\Program Files\python\lib\site-packages\flask\app.py", line 1950, in full_dispatch_request rv = self.dispatch_request() File "C:\Program Files\python\lib\site-packages\flask\app.py", line 1936, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "D:\BtSoft\panel\BTPanel\__init__.py", line 315, in home comReturn = comm.local() File "D:\BtSoft\panel/class\common.py", line 107, in local result = self.checkConfig() File "D:\BtSoft\panel/class\common.py", line 302, in checkConfig session['address'] = public.GetLocalIp().replace('\n', '').replace('\r', '').strip()AttributeError: 'bool' object has no attribute 'replace'
|
|