Skip to content

Commit

Permalink
fix: Circular import bug
Browse files Browse the repository at this point in the history
- Addresses the following error message that would appear on directly
  importing the package:

  ```
  ImportError: cannot import name 'LazyCommandInterface' from partially initialized module 'libqtile.lazy' (most likely due to a circular import) (/usr/lib/python3.10/site-packages/libqtile/lazy.py)
  ````
  • Loading branch information
jrwrigh committed Apr 3, 2023
1 parent 481f6fe commit 82bbb51
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions qtile_mutable_scratch/_MutableScratch.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import libqtile
import libqtile.lazy
from libqtile.lazy import lazy
import libqtile.config
from libqtile.lazy import lazy
from libqtile.log_utils import logger

# For type hints
Expand Down

0 comments on commit 82bbb51

Please sign in to comment.