系统:CentOS 7.5.1804 x86_64(Py3.7.9)
计划任务:数据库备份报错
Traceback (most recent call last): File "/www/server/panel/script/backup.py", line 50, in <module> backup.backupDatabase(sys.argv[2], sys.argv[3]) File "/www/server/panel/script/backup.py", line 21, in backupDatabase self.backup_database(name,save=count) File "class/panelBackup.py", line 645, in backup_database password = shlex.quote(str(password))AttributeError: 'module' object has no attribute 'quote'
解答;
重新添加计划任务即可解决