]> git.phdru.name Git - dotfiles.git/commitdiff
Refactor(bin/decode-URLs.py): Python3-only
authorOleg Broytman <phd@phdru.name>
Sat, 15 Jun 2024 13:25:35 +0000 (16:25 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 15 Jun 2024 13:25:35 +0000 (16:25 +0300)
bin/decode-URLs.py

index ef04664342a87b7a5d5dc1c65045aa3399aee77d..6b98bb3f01e8a84d167f19d47745fd6184cf8e02 100755 (executable)
@@ -1,9 +1,6 @@
 #! /usr/bin/env python3
 
-try:
-    from urllib.parse import unquote
-except ImportError:
-    from urllib import unquote
+from urllib.parse import unquote
 import sys
 
 while True: