Skip to content

Commit 18aebf9

Browse files
authored
Merge pull request #10 from bugout-dev/changed-var-name
Changed var name
2 parents 4f21c33 + 3180469 commit 18aebf9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Python client library for Bugout API
44
## Setup
55
- Add variables from `sample.env` in you development environment
66
```bash
7-
export BUGOUT_REQUESTS_TIMEOUT=5
7+
export BUGOUT_TIMEOUT_SECONDS=5
88
```
99

1010
```python

bugout/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
__email__ = "engineering@bugout.dev"
99
__license__ = "MIT"
10-
__version__ = "0.1.0"
10+
__version__ = "0.1.1"
1111

1212
__all__ = (
1313
"__author__",

bugout/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
22

33
REQUESTS_TIMEOUT = 5
4-
REQUESTS_TIMEOUT_RAW = os.environ.get("BUGOUT_REQUESTS_TIMEOUT")
4+
REQUESTS_TIMEOUT_RAW = os.environ.get("BUGOUT_TIMEOUT_SECONDS")
55
try:
66
if REQUESTS_TIMEOUT_RAW is not None:
77
REQUESTS_TIMEOUT = int(REQUESTS_TIMEOUT_RAW)

sample.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export BUGOUT_REQUESTS_TIMEOUT=5
1+
export BUGOUT_TIMEOUT_SECONDS=5

0 commit comments

Comments
 (0)