Skip to content

Commit 9699049

Browse files
committed
Update addNewItemsToCollection.py
1 parent 1390d1f commit 9699049

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

addNewItemsToCollection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
parser.add_argument('-i', '--handle', help='handle of the object to retreive. optional - if not provided, the script will ask for input')
2626
args = parser.parse_args()
2727

28-
if args.uri:
28+
if args.directory:
2929
directory = args.directory
3030
else:
3131
directory = input('Enter directory name: ')
32-
if args.uri:
32+
if args.fileExtension:
3333
fileExtension = args.fileExtension
3434
else:
3535
fileExtension = '.'+input('Enter file extension: ')

0 commit comments

Comments
 (0)