We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03e73b9 commit 83baeddCopy full SHA for 83baedd
winpython/wppm.py
@@ -329,12 +329,12 @@ def main(test=False):
329
sys.exit()
330
if not args.install and not args.uninstall:
331
args.install = True
332
- if not Path(args.fname).is_file() and not args.install:
+ if not Path(args.fname).is_file() and args.install:
333
if args.fname == "":
334
parser.print_help()
335
336
else:
337
- raise FileNotFoundError(f"File not found: {args.fname}")
+ args.install = True # for Drag & Drop of .toml (and not wheel)
338
339
try:
340
filename = Path(args.fname).name
0 commit comments