Show atbswp version in the capture file Now when debugging user problems we can know exactly which version was used.
1 files changed, 2 insertions(+), 1 deletions(-) M atbswp/control.py
M atbswp/control.py => atbswp/control.py +2 -1
@@ 45,7 45,8 @@ TMP_PATH = os.path.join(tempfile.gettempdir(), "atbswp-" + date.today().strftime("%Y%m%d")) HEADER = ( f"#!/bin/env python3\n" f"# Created by atbswp (https://github.com/rmpr/atbswp)\n" f"# Created by atbswp v{settings.VERSION} " f"(https://git.sr.ht/~rmpr/atbswp)\n" f"# on {date.today().strftime('%d %b %Y ')}\n" f"import pyautogui\n" f"import time\n"