Skip to content

Commit

Permalink
修正 configparser应用
Browse files Browse the repository at this point in the history
  • Loading branch information
guozhifeng-felton committed Mar 7, 2022
1 parent e10561c commit 70644fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion volcengine/base/Service.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# coding: utf-8
import configparser
import json
import logging
import os
Expand All @@ -10,6 +9,10 @@
except ImportError:
from urllib import urlencode

try:
import configparser as configparser
except ImportError:
import ConfigParser as configparser

import requests

Expand Down

0 comments on commit 70644fb

Please sign in to comment.