mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -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)
|
os.chmod(path, stat.S_IWUSR)
|
||||||
func(path)
|
func(path)
|
||||||
else:
|
else:
|
||||||
raise
|
raise Exception
|
||||||
|
|
||||||
|
|
||||||
def rmDir(dirName):
|
def rmDir(dirName):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue