bin/frappy-scan: add path for in-place usage
This commit is contained in:
@@ -24,6 +24,9 @@
|
||||
|
||||
import argparse
|
||||
import sys
|
||||
from pathlib import Path
|
||||
# Add import path for inplace usage
|
||||
sys.path.append(str(Path(__file__).absolute().parents[1]))
|
||||
from frappy.protocol.discovery import scan, listen
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user