REQUEST_DATE: 2023-11-27 20:40:20
PAN_VERSION: 8.0.42
OS_VERSION: CentOS 7.9.2009 x86_64(Py3.7.9)
REMOTE_ADDR: 125.76.177.111
REQUEST_URI: POST /files?action=UnZip
REQUEST_FORM: {'sfile': '/www/wwwroot/maikexun.com/xfsw.com_w2rdxK.tar.gz', 'dfile': '/www/wwwroot/maikexun.com', 'type': 'tar', 'coding': 'UTF-8'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2260, in publicObject
res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 2207, in run
result = getattr(toObject, get.action)(get)
File "/www/server/panel/class/files.py", line 2004, in UnZip
return self.__untargz(get)
File "/www/server/panel/class/files.py", line 2162, in __untargz
"file_mtime": datetime.datetime.fromtimestamp(os.path.getmtime(unzip_path)).strftime("%Y-%m-%d %H:%M:%S"),
AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
|
|