diff --git a/docs/README.pt-BR.md b/docs/README.pt-BR.md index 9e6d9f6a..83f0c420 100644 --- a/docs/README.pt-BR.md +++ b/docs/README.pt-BR.md @@ -50,9 +50,9 @@ - [Environment variables](#-environment-variables) - [Running](#-running) - [Build](#-build) - - [Build the bittorrent client](#-build-the-bittorrent-client) - - [Build the Electron application](#-build-the-electron-application) -- [Contributors](#-contributors) + - [ Criar o cliente bittorrent](#-build-the-bittorrent-client) + - [Criar a aplicação Electron](#-build-the-electron-application) +- [Contribuidores](#-contributors) - [Licença](#-licença) ## Sobre @@ -152,7 +152,7 @@ yarn dev ## Build -### Build the bittorrent client +### Criar o cliente bittorrent Compile o cliente BitTorrent usando este comando @@ -160,7 +160,7 @@ Compile o cliente BitTorrent usando este comando python torrent-client/setup.py build ``` -### Build the Electron application +### Criar a aplicação Electron Compile a aplicação Electron usando este comando: @@ -176,7 +176,7 @@ No Linux: yarn build:linux ``` -## Contributors +## Contribuidores diff --git a/torrent-client/main.py b/torrent-client/main.py index 7fbc49d8..d62150b8 100644 --- a/torrent-client/main.py +++ b/torrent-client/main.py @@ -1,8 +1,5 @@ -import sys +import sys, json, urllib.parse, psutil from http.server import HTTPServer, BaseHTTPRequestHandler -import json -import urllib.parse -import psutil from torrent_downloader import TorrentDownloader from profile_image_processor import ProfileImageProcessor diff --git a/torrent-client/profile_image_processor.py b/torrent-client/profile_image_processor.py index 3a565aef..9fe8489e 100644 --- a/torrent-client/profile_image_processor.py +++ b/torrent-client/profile_image_processor.py @@ -1,6 +1,5 @@ from PIL import Image -import tempfile -import os, uuid +import os, uuid, tempfile class ProfileImageProcessor: