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 ruamel.yaml import YAML, scalarstring
|
||||||
|
|
||||||
from .misc import local_file_present
|
from blimp.misc import local_file_present
|
||||||
|
|
||||||
|
|
||||||
class ProcessBlocklist:
|
class ProcessBlocklist:
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
from .main import Blimp
|
from blimp.main import Blimp
|
||||||
|
|
||||||
|
|
||||||
def cli():
|
def cli():
|
||||||
|
|
|
@ -6,8 +6,8 @@ from pathlib import Path
|
||||||
import requests
|
import requests
|
||||||
from appdirs import user_cache_dir
|
from appdirs import user_cache_dir
|
||||||
|
|
||||||
from .bl_process import ProcessBlocklist
|
from blimp.bl_process import ProcessBlocklist
|
||||||
from .misc import local_file_present
|
from blimp.misc import local_file_present
|
||||||
|
|
||||||
|
|
||||||
class Blimp:
|
class Blimp:
|
||||||
|
@ -91,5 +91,5 @@ class Blimp:
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from .cli import cli
|
from blimp.cli import cli
|
||||||
cli()
|
cli()
|
||||||
|
|
Loading…
Reference in New Issue