mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-26 09:05:50 +00:00
style fix
This commit is contained in:
parent
7d727ecef3
commit
32c84cc86e
1 changed files with 1 additions and 1 deletions
|
|
@ -302,7 +302,7 @@ def checkfile(path, create=False):
|
|||
if os.path.exists(path):
|
||||
raise IOError('{} is not a file.'.format(path))
|
||||
if create:
|
||||
with open(path, 'wb') as f:
|
||||
with open(path, 'wb'):
|
||||
pass
|
||||
else:
|
||||
raise exceptions.CollectionNotFound('File {} does not exist.'
|
||||
|
|
|
|||
Loading…
Reference in a new issue