mirror of
https://github.com/xzb23/check_duplicate_files.git
synced 2026-11-24 18:45:31 +08:00
fix: --fsize参数无效
This commit is contained in:
1 file changed
+2
-2
@@ -38,8 +38,8 @@ def reg_opts():
|
|||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
if args.path != None:
|
if args.path != None:
|
||||||
config.work_dir = args.path
|
config.work_dir = args.path
|
||||||
elif args.fsize != None:
|
if args.fsize != None:
|
||||||
config.flag_size = args.fsize
|
config.flag_size = int(args.fsize)
|
||||||
|
|
||||||
reg_opts()
|
reg_opts()
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user