Skip to content

Commit f8fcaf6

Browse files
author
Shiyue Cheng
committed
changed log file format to .log (instead of .txt) & added newline to class instantiation/documentation
1 parent 27c3071 commit f8fcaf6

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

meraki/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
class DashboardAPI(object):
8484
"""
8585
**Creates a persistent Meraki dashboard API session**
86+
8687
- api_key (string): API key generated in dashboard; can also be set as an environment variable MERAKI_DASHBOARD_API_KEY
8788
- base_url (string): preceding all endpoint resources
8889
- single_request_timeout (integer): maximum number of seconds for each API call
@@ -104,7 +105,7 @@ def __init__(self, api_key=None, base_url=DEFAULT_BASE_URL, single_request_timeo
104105

105106
# Configure logging
106107
self._logger = logging.getLogger(__name__)
107-
self._log_file = f'{log_file_prefix}_log__{datetime.now():%Y-%m-%d_%H-%M-%S}.txt'
108+
self._log_file = f'{log_file_prefix}_log__{datetime.now():%Y-%m-%d_%H-%M-%S}.log'
108109
if output_log:
109110
logging.basicConfig(
110111
filename=self._log_file,

setup.py

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

1111
setup(
1212
name='meraki',
13-
version='0.70.0',
13+
version='0.70.3',
1414
packages=find_packages(),
1515
include_package_data=True,
1616
install_requires=['requests'],

0 commit comments

Comments
 (0)