Lines 1-4
Link Here
|
1 |
--- youtube_dlc/__init__.py.orig 2021-02-17 11:58:10 UTC |
1 |
--- youtube_dlc/__init__.py.orig 2021-02-19 21:44:01 UTC |
2 |
+++ youtube_dlc/__init__.py |
2 |
+++ youtube_dlc/__init__.py |
3 |
@@ -38,7 +38,6 @@ from .utils import ( |
3 |
@@ -38,7 +38,6 @@ from .utils import ( |
4 |
std_headers, |
4 |
std_headers, |
Lines 8-14
Link Here
|
8 |
from .downloader import ( |
8 |
from .downloader import ( |
9 |
FileDownloader, |
9 |
FileDownloader, |
10 |
) |
10 |
) |
11 |
@@ -555,17 +554,9 @@ def _real_main(argv=None): |
11 |
@@ -556,17 +555,9 @@ def _real_main(argv=None): |
12 |
if opts.rm_cachedir: |
12 |
if opts.rm_cachedir: |
13 |
ydl.cache.remove() |
13 |
ydl.cache.remove() |
14 |
|
14 |
|
Lines 17-23
Link Here
|
17 |
- # If updater returns True, exit. Required for windows |
17 |
- # If updater returns True, exit. Required for windows |
18 |
- if update_self(ydl.to_screen, opts.verbose, ydl._opener): |
18 |
- if update_self(ydl.to_screen, opts.verbose, ydl._opener): |
19 |
- if actual_use: |
19 |
- if actual_use: |
20 |
- parser.error('The program must exit for the update to complete') |
20 |
- sys.exit('ERROR: The program must exit for the update to complete') |
21 |
- sys.exit() |
21 |
- sys.exit() |
22 |
- |
22 |
- |
23 |
# Maybe do nothing |
23 |
# Maybe do nothing |