Skip to content

Commit

Permalink
Show atbswp version in the capture file
Browse files Browse the repository at this point in the history
Now when debugging user problems we can know exactly which version was
used.
  • Loading branch information
Mairo Rufus committed May 8, 2021
1 parent 8d0fb65 commit e234894
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion atbswp/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"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"
Expand Down

0 comments on commit e234894

Please sign in to comment.