aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authornico wellpott <nico@magicbroccoli.de>2021-07-23 17:14:44 +0200
committernico wellpott <nico@magicbroccoli.de>2021-07-23 17:20:54 +0200
commita5251e23816116ae7dee3874e1e2be532bc192e4 (patch)
treec4f675a0d426d76230063f18455759bd5e1c67d5 /src
parentc8de19f4ec8184f613b545cd160092e5c7e3f09a (diff)
fix: relative import inside package
+ change from .file to module.file in the import statement
Diffstat (limited to 'src')
-rw-r--r--src/blimp/bl_process.py2
-rw-r--r--src/blimp/cli.py2
-rw-r--r--src/blimp/main.py6
3 files changed, 5 insertions, 5 deletions
diff --git a/src/blimp/bl_process.py b/src/blimp/bl_process.py
index 06c9c0f..e1b4160 100644
--- a/src/blimp/bl_process.py
+++ b/src/blimp/bl_process.py
@@ -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:
diff --git a/src/blimp/cli.py b/src/blimp/cli.py
index 12bd1dc..fc973eb 100644
--- a/src/blimp/cli.py
+++ b/src/blimp/cli.py
@@ -3,7 +3,7 @@
import argparse
-from .main import Blimp
+from blimp.main import Blimp
def cli():
diff --git a/src/blimp/main.py b/src/blimp/main.py
index 1d0c29b..c8e3425 100644
--- a/src/blimp/main.py
+++ b/src/blimp/main.py
@@ -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()