diff --git a/bin/createTorrentSum.py b/bin/createTorrentSum.py index 1f32690..070d88b 100644 --- a/bin/createTorrentSum.py +++ b/bin/createTorrentSum.py @@ -135,7 +135,7 @@ def create_torrent(file_path, torrent_file, datafullsum): tracker_url = f"http://{repo_ip}:6969/announce" # Creamos una litas para ejecutar el comando mktorrent para crear el archivo torrent - splitted_cmd = f"nice -n 0 mktorrent -a {tracker_url} -c {datafullsum} -o {torrent_file} -l 4194304 {file_path}".split() + splitted_cmd = f"nice -n 0 mktorrent -a {tracker_url} -c {datafullsum} -o {torrent_file} {file_path}".split() print(f"Sending command: {' '.join(splitted_cmd)}") # Ejecutamos el comando en el sistema, e imprimimos el resultado: diff --git a/debian/control b/debian/control index 071fadd..1bcdd6b 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,7 @@ Build-Depends: debhelper-compat (= 12) Package: ogrepository Architecture: all Pre-Depends: debian-archive-keyring , debconf (>= 1.5.0), -Depends: ${misc:Depends}, git, python3, python3-pip, python3-flask, python3-paramiko, python3-psutil, python3-flasgger, samba, gunicorn, wakeonlan , lzop , partclone , qemu-utils , udpcast, uftp, ctorrent, bittornado +Depends: ${misc:Depends}, git, python3, python3-pip, python3-flask, python3-paramiko, python3-psutil, python3-flasgger, samba, gunicorn, wakeonlan , lzop , partclone , qemu-utils , udpcast, uftp, ctorrent, bittornado, mktorrent Description: Ogrepsoitory Package This package provides Ogrepository service. - +