Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/TPDBMarkers/TPDBMarkers.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: The Porn DB Markers
description: Sync Markers from The Porn DB aka theporndb.net
version: 0.4.3
version: 0.4.4
url: https://discourse.stashapp.cc/t/the-porn-db-markers/1335
exec:
- python
Expand Down
3 changes: 2 additions & 1 deletion plugins/TPDBMarkers/tpdbMarkers.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import requests
import json
import time
import math


per_page = 100
Expand Down Expand Up @@ -99,7 +100,7 @@ def processAll():
)[0]
log.info(str(count) + " scenes to submit.")
i = 0
for r in range(1, int(count / per_page) + 1):
for r in range(1, math.ceil(count / per_page) + 1):
log.info(
"fetching data: %s - %s %0.1f%%"
% (
Expand Down