add local dir

This commit is contained in:
piotr
2022-01-15 02:36:53 +01:00
parent 7e041d4f8e
commit 4a707155e9
4 changed files with 111 additions and 9 deletions

View File

@@ -260,12 +260,6 @@ def main():
global sig_dwl
sig_dwl = args.sigdwl
"""# signal handlers
signal.signal(signal.SIGINT, signal_handler)
signal.signal(signal.SIGTERM, signal_handler)
# Will do nothing if no dwl-tags instance found
signal.signal(args.sigdwl, refresh_dwl)"""
catchable_sigs = set(signal.Signals) - {signal.SIGKILL, signal.SIGSTOP}
for sig in catchable_sigs:
signal.signal(sig, signal_handler)