diff options
| author | KyleMiles <krm504@nyu.edu> | 2022-01-27 22:43:28 -0500 |
|---|---|---|
| committer | KyleMiles <krm504@nyu.edu> | 2022-01-28 00:24:06 -0500 |
| commit | 6812c973c9fa9b4ad642ab81856c05f87bd6fcc4 (patch) | |
| tree | dace4156d03148bcaf02df138ab4e0d93e61bc6f /python/enterprise.py | |
| parent | 519c9db22367f2659d1a54599fab47e6313be06e (diff) | |
Format All Files
Diffstat (limited to 'python/enterprise.py')
| -rw-r--r-- | python/enterprise.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/enterprise.py b/python/enterprise.py index 18062153..e3c0e26c 100644 --- a/python/enterprise.py +++ b/python/enterprise.py @@ -271,7 +271,6 @@ class LicenseCheckout: # License is released at end of scope """ - def __init__(self, duration=900, cache=False): self.desired_duration = duration self.desired_cache = cache @@ -284,8 +283,9 @@ class LicenseCheckout: connect() if not is_authenticated(): raise RuntimeError( - "Could not checkout a license: Not authenticated. " - "Please use binaryninja.enterprise.authenticate_with_credentials or authenticate_with_method first!") + "Could not checkout a license: Not authenticated. " + "Please use binaryninja.enterprise.authenticate_with_credentials or authenticate_with_method first!" + ) acquire_license(self.desired_duration, self.desired_cache) def __exit__(self, exc_type, exc_val, exc_tb): |
