Skip to content

Commit

Permalink
fix search for old/dupe versions
Browse files Browse the repository at this point in the history
  • Loading branch information
1024mb committed Oct 12, 2023
1 parent d149dc7 commit 803b1fc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions EPL_RSS_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
import subprocess
import sys
import xml.dom.minidom
from urllib import request

from unicodedata import normalize
from urllib import request

try:
from PyQt5 import QtGui, QtWidgets, uic
Expand Down Expand Up @@ -1266,7 +1265,7 @@ def borrar_antiguos(self):
# Actualización de barras de progreso
if actual <= self.BarraBloque.maximum():
self.BarraBloque.setValue(actual)
prog_max = (self.BarraTotal.maximum() / 2) + actual
prog_max = round(self.BarraTotal.maximum() / 2) + actual
if prog_max <= self.BarraTotal.maximum():
self.BarraTotal.setValue(prog_max)
# Comprobación de borrados
Expand Down

0 comments on commit 803b1fc

Please sign in to comment.