Ramesh-vani commited on
Commit
92b71bf
·
verified ·
1 Parent(s): 656d9ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -39,6 +39,7 @@ class FileHandler(FileSystemEventHandler):
39
  "path": event.src_path,
40
  "name": event.src_path.split('/')[-1]
41
  }
 
42
  websockets.broadcast(self.connected,json.dumps(new_event))
43
  else:
44
  with open(event.src_path, 'r', encoding='utf-8') as file:
 
39
  "path": event.src_path,
40
  "name": event.src_path.split('/')[-1]
41
  }
42
+ print(new_event)
43
  websockets.broadcast(self.connected,json.dumps(new_event))
44
  else:
45
  with open(event.src_path, 'r', encoding='utf-8') as file: