biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / fabulous / relative_import.patch
blobb12e3d9a7863e3b6cc88ab4f653aab28c681cc48
1 diff --git a/fabulous/prompt.py b/fabulous/prompt.py
2 index 531176f..e395ab4 100644
3 --- a/fabulous/prompt.py
4 +++ b/fabulous/prompt.py
5 @@ -18,8 +18,7 @@
6 import sys
7 import os
8 import os.path
9 -import term
10 -from term import stdout, stderr, display
11 +from .term import stdout, stderr, display
13 __all__ = ["input_object","query","file_chooser"]
15 diff --git a/fabulous/widget.py b/fabulous/widget.py
16 index 31a2547..7ad889a 100644
17 --- a/fabulous/widget.py
18 +++ b/fabulous/widget.py
19 @@ -24,7 +24,7 @@ import os
20 import math
21 from datetime import datetime
22 # import textwrap
23 -from term import stdout, display
24 +from .term import stdout, display
26 class ProgressBar(object):
27 """A 3-line progress bar, which looks like::