fix: relative import inside package
+ change from .file to module.file in the import statement
This commit is contained in:
parent
c8de19f4ec
commit
a5251e2381
|
@ -3,7 +3,7 @@ import sys
|
|||
|
||||
from ruamel.yaml import YAML, scalarstring
|
||||
|
||||
from .misc import local_file_present
|
||||
from blimp.misc import local_file_present
|
||||
|
||||
|
||||
class ProcessBlocklist:
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
import argparse
|
||||
|
||||
from .main import Blimp
|
||||
from blimp.main import Blimp
|
||||
|
||||
|
||||
def cli():
|
||||
|
|
|
@ -6,8 +6,8 @@ from pathlib import Path
|
|||
import requests
|
||||
from appdirs import user_cache_dir
|
||||
|
||||
from .bl_process import ProcessBlocklist
|
||||
from .misc import local_file_present
|
||||
from blimp.bl_process import ProcessBlocklist
|
||||
from blimp.misc import local_file_present
|
||||
|
||||
|
||||
class Blimp:
|
||||
|
@ -91,5 +91,5 @@ class Blimp:
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from .cli import cli
|
||||
from blimp.cli import cli
|
||||
cli()
|
||||
|
|
Loading…
Reference in New Issue