Skip to main content

Remove an unused variable

ID
9882303
date
2025-02-22 00:33:05+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
3d36b98
message
Remove an unused variable
changed files
1 file, 3 deletions

Changed files

create_snippets.py (8044) → create_snippets.py (7978)

diff --git a/create_snippets.py b/create_snippets.py
index bc1129b..6a7eb8f 100755
--- a/create_snippets.py
+++ b/create_snippets.py
@@ -3,7 +3,6 @@
 import hashlib
 import json
 import os
-import pathlib
 import uuid
 import zipfile
 
@@ -296,8 +295,6 @@ def add_snippet(zf: zipfile.ZipFile, shortcut: str, expansion: str) -> None:
 
 
 if __name__ == "__main__":
-    curdir = pathlib.Path(os.getcwd()).absolute()
-
     with zipfile.ZipFile("Alex’s snippets.alfredsnippets", "w") as zf:
         zf.write("info.plist")