Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/utils/ltfs_ordered_copy
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,9 @@ if args.DEST == None:
logger.error('No destination is specified')
exit(2)

if args.keep_tree is None:
args.keep_tree = ''

# Special case:
# Copy source is only one file
if args.recursive == False and len(args.SOURCE) == 1:
Expand Down Expand Up @@ -387,9 +390,6 @@ if len(args.SOURCE) == 0:
args.SOURCE.append(line.rstrip('\r\n'))
logger.log(NOTSET + 1, 'Source: {}'.format(args.SOURCE))

if args.keep_tree is None:
args.keep_tree = ''

# Create the list of copy item
copyq = CopyQueue(logger, args.sort_files)
for s in args.SOURCE:
Expand Down
Loading