Commit c9fd2a8b authored by Mickaël Desfrênes's avatar Mickaël Desfrênes
Browse files

fix bug with feed command

parent 545bf67f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -823,6 +823,7 @@ def feed(
            f"db:put('max', '{feed_path}', '{feed_path.name}')",
            # f"-cOPEN max; REPLACE {feed_path.resolve()}",
        ]
        rich_print(feed_path)
        subprocess.run(process_args)
    elif feed_path.is_dir():
        offset = len(str(feed_path))
@@ -836,6 +837,7 @@ def feed(
                f"db:put('max', '{f}', '{str(f)[offset:]}')",
                # f"-cOPEN max; REPLACE {f}",
            ]
            rich_print(f)
            subprocess.run(process_args)