aboutsummaryrefslogtreecommitdiffstats
path: root/examples/simple_library_example.py
diff options
context:
space:
mode:
authorLouis Burda <dev@sinitax.com>2026-02-28 18:54:19 +0100
committerLouis Burda <dev@sinitax.com>2026-02-28 18:54:19 +0100
commitbe1dd21f8e4fbd5361531b4d8727a0d0d243e8ec (patch)
treee7b540012e0510d1304d2dac8e137545ae103f75 /examples/simple_library_example.py
parentd70a199a72bf9a69eb4a3fcf166b0435918b2e33 (diff)
downloadselectui-main.tar.gz
selectui-main.zip
Add tests and justfileHEADmain
Diffstat (limited to 'examples/simple_library_example.py')
-rwxr-xr-xexamples/simple_library_example.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/simple_library_example.py b/examples/simple_library_example.py
index ac4a46b..5a6a6a3 100755
--- a/examples/simple_library_example.py
+++ b/examples/simple_library_example.py
@@ -3,8 +3,8 @@
Simple example showing how to use selectui as a library.
"""
-import sys
import os
+import sys
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', 'src'))
@@ -83,7 +83,6 @@ def select_from_simple_list():
def select_file():
"""Select a file from current directory."""
import os
- import json
files = []
for filename in os.listdir('.'):