Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
Azeirah committed Nov 26, 2024
1 parent e32136f commit eac5fdc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ pkgs.mkShell {
pkgs.libgcc.lib
pkgs.poppler_utils.out
pkgs.inotify-tools.out
pkgs.inkscape
];

shellHook = builtins.readFile "${shellHookChecked}/shellhook.sh";
Expand Down
2 changes: 1 addition & 1 deletion deployment/remarks-server/remarks-server.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM laauurraaa/remarks-bin:latest

COPY server.py /app/server.py
COPY remarks_server/server.py /app/server.py
RUN ["/root/.local/bin/poetry", "run", "pip", "install", "flask"]

ENTRYPOINT ["/root/.local/bin/poetry", "run", "python", "/app/server.py"]
2 changes: 0 additions & 2 deletions remarks/Document.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ def pages_magnitude(self):
return math.floor(math.log10(len(self.pages_list))) + 1

def pages(self):
has_annotation_highlights = False

page_uuids = set(
[f.stem for f in self.rm_annotation_files]
+ [f.stem for f in self.rm_highlight_files]
Expand Down

0 comments on commit eac5fdc

Please sign in to comment.