Commits

Aleksey Frolov committed 56cca0e

change auth()

Comments (0)

Files changed (1)

  • +2 -3
    ix
 		try: 
 			creds = netrc.netrc().authenticators('ix.io')
 		except:
-			return []
+			return []	
 		return [('login', creds[0]), ('token', creds[2])]
-	else:
-		return []
+	return []
 
 def mkreq(files, data=[], i=0):
 	for filename in files: