Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion moesifpythonrequest/app_config/app_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def get_sampling_percentage(self, event_data, config, user_id, company_id):
if regex_config:
config_mapping = self.regex_config_helper.prepare_config_mapping(event_data)
regex_sample_rate = self.regex_config_helper.fetch_sample_rate_on_regex_match(regex_config, config_mapping)
if regex_sample_rate:
if regex_sample_rate is not None:
return regex_sample_rate

if user_id and user_sample_rate and user_id in user_sample_rate:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.3.1',
version='0.3.2',

description='Moesif Python request',
long_description=long_description,
Expand Down