We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4c19ca commit ad9d0cbCopy full SHA for ad9d0cb
fichub_cli/utils/fetch_data.py
@@ -13,6 +13,7 @@
13
# limitations under the License.
14
15
import typer
16
+import sys
17
from tqdm import tqdm
18
from colorama import Fore
19
from loguru import logger
@@ -128,7 +129,7 @@ def get_fic_with_infile(self, infile: str):
128
129
"No new urls found! If output.log exists, please clear it.")
130
131
except KeyboardInterrupt:
- pass
132
+ sys.exit(2)
133
134
finally:
135
if self.changelog:
@@ -210,7 +211,7 @@ def get_fic_with_list(self, list_url: str):
210
211
212
213
214
215
216
217
0 commit comments