entangled-cli 2.3.1__py3-none-any.whl → 2.3.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,7 +20,12 @@ class EventHandler(FileSystemEventHandler):
20
20
  if event.event_type == "opened":
21
21
  return
22
22
  config.read()
23
- path = Path(event.src_path)
23
+
24
+ if isinstance(event.src_path, bytes):
25
+ path = Path(event.src_path.decode("utf-8"))
26
+ else:
27
+ path = Path(event.src_path)
28
+
24
29
  if path.absolute().is_relative_to(Path("./.entangled").absolute()):
25
30
  return
26
31
  if any(path.absolute().is_relative_to(p.absolute()) for p in self.watched):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: entangled-cli
3
- Version: 2.3.1
3
+ Version: 2.3.2
4
4
  Summary: Literate Programming toolbox
5
5
  Project-URL: Homepage, https://entangled.github.io/
6
6
  Project-URL: Repository, https://github.com/entangled/entangled.py
@@ -20,7 +20,7 @@ Requires-Dist: repl-session>=0.2.0
20
20
  Requires-Dist: rich-argparse<2,>=1.4.0
21
21
  Requires-Dist: rich<14,>=13.3.5
22
22
  Requires-Dist: tomlkit<0.13,>=0.12.1
23
- Requires-Dist: watchdog<4,>=3.0.0
23
+ Requires-Dist: watchdog>=6.0.0
24
24
  Description-Content-Type: text/markdown
25
25
 
26
26
  # Entangled
@@ -21,7 +21,7 @@ entangled/commands/status.py,sha256=KiQ1zr45m62NSOMDDGnSzy7i7QrSor3PLAhSdHzTZb4,
21
21
  entangled/commands/stitch.py,sha256=7XFzxwnh_HnIgYktOnQgEKJdc1Ag_rox8URF4OynQ4A,1970
22
22
  entangled/commands/sync.py,sha256=89poUlyfz_90_PkJrZMi22ze7D-b2mhfMi11GxZMPmY,1211
23
23
  entangled/commands/tangle.py,sha256=JOiM1e_Dk0p2mcq27mZ3bUc6MdbVBeNyxVjyQ-fw55w,2164
24
- entangled/commands/watch.py,sha256=CvcE9kEe1RweStz0gHrRQV0j76KdSPXBjhZ4G61d3wo,1642
24
+ entangled/commands/watch.py,sha256=sEKI3vdRCkfdeACY9Ms9A2iXN-Z33atvDLdOFBYVyqA,1764
25
25
  entangled/config/__init__.py,sha256=HnhEyUn0p9dXjGdHz385I3UNjF5c8l1LNOS87pOLeYg,6321
26
26
  entangled/config/language.py,sha256=QuqyfWA5eAbhxk-NlpBtyqYTFC8457hmeLUaAcIgJ3I,1826
27
27
  entangled/config/templates.py,sha256=NPT5TaAczmLXXlFMaLeWO7YsRQZ5kHKki917LkFdlNM,1152
@@ -42,8 +42,8 @@ entangled/io/filedb.py,sha256=eeLe_wqkHesof-nJknlEJIHjHLGwVJCHQ83ir2p1-ZQ,3913
42
42
  entangled/io/stat.py,sha256=vtfaqzCXlM0UwfrIB-yDYGiBcePVB1SWZ8D1CxTrlSE,1708
43
43
  entangled/io/transaction.py,sha256=xPB_tqeVkYz6gLisz6AgDtgfECDuN_3CiInD3JBUfSs,7699
44
44
  entangled/io/virtual.py,sha256=PjYzaizG1dTwEBAmXTTisekgU3k3TkX9VY7K8XLhDwQ,2995
45
- entangled_cli-2.3.1.dist-info/METADATA,sha256=cSMjNv8vjLDSE7T5Pwpvnm6FCSp_Y-0J813EbFDB9xk,18972
46
- entangled_cli-2.3.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
47
- entangled_cli-2.3.1.dist-info/entry_points.txt,sha256=QekvPWFApAipNUVUT7jp-i7d_1V8INajgO8JeBK61y8,49
48
- entangled_cli-2.3.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
49
- entangled_cli-2.3.1.dist-info/RECORD,,
45
+ entangled_cli-2.3.2.dist-info/METADATA,sha256=iXcjCDQHGJxC7zmFe5pdAw0TX-XpsF1Hfmt-99PF8i0,18969
46
+ entangled_cli-2.3.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
47
+ entangled_cli-2.3.2.dist-info/entry_points.txt,sha256=QekvPWFApAipNUVUT7jp-i7d_1V8INajgO8JeBK61y8,49
48
+ entangled_cli-2.3.2.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
49
+ entangled_cli-2.3.2.dist-info/RECORD,,