mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 02:32:33 +01:00
small fixes
This commit is contained in:
parent
f31c05f522
commit
7b9fcea6bb
@ -19,7 +19,7 @@ import sys
|
||||
import argparse
|
||||
import configparser
|
||||
|
||||
from download import DownloadManager
|
||||
from .download import DownloadManager
|
||||
|
||||
def parse_cmdline_options():
|
||||
parser = argparse.ArgumentParser(
|
||||
|
@ -12,7 +12,7 @@ import re
|
||||
import sqlite3
|
||||
import importlib
|
||||
|
||||
from extractor.common import Message
|
||||
from .extractor.common import Message
|
||||
|
||||
class DownloadManager():
|
||||
|
||||
@ -55,8 +55,6 @@ class DownloadJob():
|
||||
return # TODO: error msg
|
||||
|
||||
for msg in self.extractor:
|
||||
print(msg)
|
||||
print(type(msg))
|
||||
if msg[0] == Message.Url:
|
||||
self.download(msg)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user