diff --git a/magnet_dht/crawler.py b/magnet_dht/crawler.py index 9f72a1e..962ea9c 100644 --- a/magnet_dht/crawler.py +++ b/magnet_dht/crawler.py @@ -1,5 +1,5 @@ #! usr/bin/python -# encoding=utf8 +# encoding=utf-8 import socket import codecs diff --git a/magnet_dht/magnet_to_torrent_aria2c.py b/magnet_dht/magnet_to_torrent_aria2c.py index 9b8361d..1f860f9 100644 --- a/magnet_dht/magnet_to_torrent_aria2c.py +++ b/magnet_dht/magnet_to_torrent_aria2c.py @@ -1,5 +1,5 @@ #!usr/bin/python -# encoding=utf8 +# encoding=utf-8 from http.client import HTTPConnection import json diff --git a/magnet_dht/utils.py b/magnet_dht/utils.py index f27b871..0de4061 100644 --- a/magnet_dht/utils.py +++ b/magnet_dht/utils.py @@ -1,5 +1,5 @@ #!usr/bin/python -# encoding=utf8 +# encoding=utf-8 import os import logging diff --git a/manage.py b/manage.py index 4655e81..7b7c881 100644 --- a/manage.py +++ b/manage.py @@ -15,7 +15,6 @@ def get_parser(): parser = argparse.ArgumentParser(description="start manage.py with flag.") parser.add_argument("-s", action="store_true", help="run start_server func.") parser.add_argument("-m", action="store_true", help="run magnet2torrent func") - parser.add_argument("-p", action="store_true", help="run parse_torrent func") return parser