Skip to content

Commit b297336

Browse files
committed
Fix bug without -p option
1 parent ecd408a commit b297336

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fosslight_binary/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ def main():
4343

4444
if args.path: # -p option
4545
path_to_find_bin = args.path
46-
if not path_to_find_bin:
47-
path_to_find_bin = os.getcwd()
46+
else:
47+
path_to_find_bin = os.getcwd()
4848

4949
if args.output: # -o option
5050
output_dir = args.output

0 commit comments

Comments
 (0)