| skipped 95 lines |
96 | 96 | | def start(self): |
97 | 97 | | if self.args.output: |
98 | 98 | | directory = os.path.split(self.args.output)[0] |
99 | | - | if not os.path.isdir(directory): |
100 | | - | self.print_error(f"Directory: {directory}: does not exist!") |
101 | | - | return |
| 99 | + | if directory: |
| 100 | + | if not os.path.isdir(directory): |
| 101 | + | self.print_error(f"Directory: {directory}: does not exist!") |
| 102 | + | return |
102 | 103 | | |
103 | 104 | | if self.args.zoomeye: |
104 | 105 | | self.print_process("Authorizing ZoomEye by given API key...") |
| skipped 67 lines |