Skip to content

Commit 47b213a

Browse files
committed
Use raise instead of raise e
1 parent 06f09f9 commit 47b213a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pafy/pafy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def fetch_decode(url, encoding=None):
9393
time.sleep(.5)
9494
return fetch_decode(url, encoding)
9595
else:
96-
raise e
96+
raise
9797

9898
ct = req.headers['content-type']
9999

0 commit comments

Comments
 (0)