Skip to content

Commit

Permalink
Do not needlessly import stripe.app_info
Browse files Browse the repository at this point in the history
Fixes #1167
  • Loading branch information
akx committed Dec 11, 2023
1 parent 5ab12c6 commit 2ad13f1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions stripe/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
# Configuration variables
from stripe._api_version import _ApiVersion

# We must import the app_info module eagerly before defining the app_info global
# otherwise the late import will overwrite the global
import stripe.app_info
from stripe._app_info import AppInfo as AppInfo
from stripe._version import VERSION as VERSION

Expand Down

0 comments on commit 2ad13f1

Please sign in to comment.