修改coding代码扫描警告

This commit is contained in:
qihao.gong@jikimo.com
2023-11-27 17:08:11 +08:00
parent 964618d365
commit c78ea6fbe5
15 changed files with 24 additions and 42 deletions

View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
import os
import logging
from ftplib import FTP
@@ -20,7 +19,6 @@ class FTP_P(FTP):
cmd = 'LIST'
templist = []
tempdic = {}
func = None
if args[-1:] and type(args[-1]) != type(''):
args, func = args[:-1], args[-1]
for arg in args: