small fixes
This commit is contained in:
@@ -19,7 +19,7 @@ import sys
|
|||||||
import argparse
|
import argparse
|
||||||
import configparser
|
import configparser
|
||||||
|
|
||||||
from download import DownloadManager
|
from .download import DownloadManager
|
||||||
|
|
||||||
def parse_cmdline_options():
|
def parse_cmdline_options():
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import re
|
|||||||
import sqlite3
|
import sqlite3
|
||||||
import importlib
|
import importlib
|
||||||
|
|
||||||
from extractor.common import Message
|
from .extractor.common import Message
|
||||||
|
|
||||||
class DownloadManager():
|
class DownloadManager():
|
||||||
|
|
||||||
@@ -55,8 +55,6 @@ class DownloadJob():
|
|||||||
return # TODO: error msg
|
return # TODO: error msg
|
||||||
|
|
||||||
for msg in self.extractor:
|
for msg in self.extractor:
|
||||||
print(msg)
|
|
||||||
print(type(msg))
|
|
||||||
if msg[0] == Message.Url:
|
if msg[0] == Message.Url:
|
||||||
self.download(msg)
|
self.download(msg)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user