From 085ae6369aad69c1db6833de0dbcf8e0dbd771ae Mon Sep 17 00:00:00 2001 From: fazalpsinfo-cmyk Date: Fri, 17 Jul 2026 17:15:16 +0530 Subject: [PATCH] =?UTF-8?q?Fix=20bare=20except:=20=E2=86=92=20except=20Exc?= =?UTF-8?q?eption:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ix b/ix index a2da1e13..8f44a547 100755 --- a/ix +++ b/ix @@ -19,7 +19,7 @@ def auth(): ''' netrc: machine ix.io login USERNAME password TOKEN ''' try: creds = netrc.netrc().authenticators('ix.io') - except: + except Exception: return [] if not creds: return [] @@ -91,4 +91,4 @@ if __name__ == '__main__': elif not args: args = [sys.stdin] data.extend(mkreq(args)) - print urlopen('http://ix.io', urlencode(data)).read().strip() + print urlopen('http://ix.io', urlencode(data)).read().strip() \ No newline at end of file