Skip to content

Commit 0231ce5

Browse files
committed
Remove some TODOs in code
1 parent b8e03ae commit 0231ce5

3 files changed

Lines changed: 1 addition & 3 deletions

File tree

pyrogram/crypto/ige.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
# You should have received a copy of the GNU Lesser General Public License
1717
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
1818

19-
# TODO: Workaround
2019
try:
2120
from pyaes import AES
2221
except ImportError:

pyrogram/crypto/rsa.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ class RSA:
2525
# To get modulus and exponent:
2626
# grep -v -- - public.key | tr -d \\n | base64 -d | openssl asn1parse -inform DER -i
2727

28-
# TODO Add CDNs keys
2928
server_public_keys = {
3029
0xc3b42b026ce86b21 - (1 << 64): PublicKey( # Telegram servers
3130
# -----BEGIN RSA PUBLIC KEY-----

pyrogram/session/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def create(self):
242242
set_client_dh_params_answer.__class__.__name__
243243
)
244244
)
245-
except Exception as e: # TODO: Too broad exception clause
245+
except Exception as e:
246246
log.warning("Auth key creation failed. Let's try again: {}".format(repr(e)))
247247
time.sleep(1)
248248
continue

0 commit comments

Comments
 (0)