mirror of
https://github.com/NohamR/Ratio.py.git
synced 2026-01-14 09:58:17 +00:00
Rename functions and files
This commit is contained in:
@@ -14,11 +14,11 @@ from struct import unpack
|
||||
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
|
||||
class torrent():
|
||||
class process_torrent():
|
||||
|
||||
def __init__(self, configuration):
|
||||
self.configuration = configuration
|
||||
torrent_file = self.configuration['torrent:']
|
||||
torrent_file = self.configuration['torrent']
|
||||
with open(torrent_file, 'rb') as tf:
|
||||
data = tf.read()
|
||||
self.b_enc = bencoding()
|
||||
Reference in New Issue
Block a user