mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
Simplify branch in download_worker exception handler
This commit is contained in:
parent
b6a42aa8cd
commit
b45960212b
1 changed files with 1 additions and 1 deletions
|
|
@ -609,7 +609,7 @@ class Client:
|
|||
try:
|
||||
os.remove(tmp_file_name)
|
||||
except OSError as e:
|
||||
if not e.errno == errno.ENOENT:
|
||||
if e.errno != errno.ENOENT:
|
||||
log.error(e, exc_info=True)
|
||||
|
||||
log.debug("{} stopped".format(name))
|
||||
|
|
|
|||
Loading…
Reference in a new issue