[patch] 修正ks3包名问题
This commit is contained in:
@@ -9,7 +9,12 @@ import os
|
||||
import sys
|
||||
import logging
|
||||
from pathlib import Path
|
||||
from ks3.connection import Connection
|
||||
|
||||
try:
|
||||
from ks3.connection import Connection
|
||||
except ImportError:
|
||||
print("ERROR: ks3sdk not installed. Please run: pip install ks3sdk")
|
||||
sys.exit(1)
|
||||
|
||||
# Configure logging
|
||||
logging.basicConfig(
|
||||
|
||||
Reference in New Issue
Block a user