mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-05-06 20:42:43 +08:00
重构 UgreenCrypto 模块路径至 app.modules.ugreen 并更新相关引用
This commit is contained in:
@@ -21,7 +21,7 @@ if __name__ == "__main__" and __package__ is None:
|
||||
|
||||
import requests
|
||||
|
||||
from app.utils.ugreen_crypto import UgreenCrypto
|
||||
from app.modules.ugreen.crypto import UgreenCrypto
|
||||
|
||||
|
||||
class UgreenLoginError(Exception):
|
||||
|
||||
@@ -6,7 +6,7 @@ import unittest
|
||||
from cryptography.hazmat.primitives import serialization
|
||||
from cryptography.hazmat.primitives.asymmetric import padding, rsa
|
||||
|
||||
from app.utils.ugreen_crypto import UgreenCrypto
|
||||
from app.modules.ugreen.crypto import UgreenCrypto
|
||||
|
||||
|
||||
def _generate_rsa_keys() -> tuple[str, rsa.RSAPrivateKey]:
|
||||
|
||||
Reference in New Issue
Block a user