mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
Python 3: Raise with no arguments can only be used in an except block
This commit is contained in:
parent
76a00b2493
commit
22daf02167
1 changed files with 1 additions and 1 deletions
|
@ -724,7 +724,7 @@ def onerror(func, path, exc_info):
|
|||
os.chmod(path, stat.S_IWUSR)
|
||||
func(path)
|
||||
else:
|
||||
raise
|
||||
raise Exception
|
||||
|
||||
|
||||
def rmDir(dirName):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue