mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-21 03:56:13 +02:00
...
This commit is contained in:
parent
a430138f93
commit
0732802ffc
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ def __init__(self, path_to_watch, modified_queue):
|
|||
Thread.__init__(self, name='TreeWatcher')
|
||||
self.modified_queue = modified_queue
|
||||
self.path_to_watch = path_to_watch
|
||||
self.dir_handle = win32file.CreateFile(
|
||||
self.dir_handle = win32file.CreateFileW(
|
||||
path_to_watch,
|
||||
FILE_LIST_DIRECTORY,
|
||||
win32con.FILE_SHARE_READ | win32con.FILE_SHARE_WRITE | win32con.FILE_SHARE_DELETE,
|
||||
|
|
|
|||
Loading…
Reference in a new issue