Skip to content

Commit

Permalink
Fixed error removing extra pages
Browse files Browse the repository at this point in the history
  • Loading branch information
David Fontaneda committed Oct 23, 2024
1 parent 342279f commit 75fc35d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gulagcleaner_python/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gulagcleaner_python"
version = "0.15.0"
version = "0.15.1"
edition = "2021"
authors = ["YM162 <[email protected]>"]
description = "Ad removal tool for PDFs."
Expand Down
2 changes: 1 addition & 1 deletion gulagcleaner_python/python/gulagcleaner/command_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def main():

# Check for the -v argument
if arguments["version"]:
print("Current version: 0.15.0")
print("Current version: 0.15.1")
return

# Get the pdf_path argument
Expand Down
2 changes: 1 addition & 1 deletion gulagcleaner_rs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gulagcleaner_rs"
version = "0.15.0"
version = "0.15.1"
edition = "2021"
authors = ["YM162 <[email protected]>"]
description = "Ad removal tool for PDFs."
Expand Down
2 changes: 1 addition & 1 deletion gulagcleaner_rs/src/models/page_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ impl PageType {
if bannercounter == 1 {
return Ok(PageType::Watermark)
}
if bannercounter == 2 {
if bannercounter > 1 {
return Ok(PageType::BannerAds)
}
if hasfooter {
Expand Down
2 changes: 1 addition & 1 deletion gulagcleaner_wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gulagcleaner_wasm"
version = "0.15.0"
version = "0.15.1"
edition = "2021"
authors = ["YM162 <[email protected]>"]
description = "Ad removal tool for PDFs."
Expand Down

0 comments on commit 75fc35d

Please sign in to comment.