Skip to content

Commit

Permalink
Set default parameter on QbException initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
bedilbek committed Feb 14, 2020
1 parent 9ee8d56 commit 80e3625
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file.

## [0.6.2] - 2020-02-14
## [0.6.3] - 2020-02-14

### ADDED

Expand Down Expand Up @@ -32,4 +32,4 @@ All notable changes to this project will be documented in this file.


[0.6.0]: https://github.com/weltlink/django-quickbooks/compare/0.5...0.6
[0.6.2]: https://github.com/weltlink/django-quickbooks/compare/0.6...0.6.2
[0.6.3]: https://github.com/weltlink/django-quickbooks/compare/0.6...0.6.3
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This is an ongoing project to integrate any Django project with Quickbooks Deskt
integration support for <b>Python 3.6+</b> and <b>Django 2.0+</b>


| Version: | 0.6.2 |
| Version: | 0.6.3 |
|-----------|--------------------------------------------------------------------------------------------------------------------|
| Download: | https://pypi.org/project/django-quickbooks/ |
| Source: | https://github.com/weltlink/django-quickbooks/ |
Expand Down
2 changes: 1 addition & 1 deletion django_quickbooks/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def _get_error_details(detail, code):
class QbException(Exception):
detail = 'Quickbooks exception error'

def __init__(self, error):
def __init__(self, error=None):
if error:
self.detail = error

Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = 'Bedilbek Khamidov'

# The full version, including alpha/beta/rc tags
release = '0.6.0'
release = '0.6.3'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = django-quickbooks
version = 0.6.2
version = 0.6.3
description = A Django app to integrate with quickbooks.
url = https://github.com/weltlink/django-quickbooks
author = Bedilbek Khamidov
Expand Down

0 comments on commit 80e3625

Please sign in to comment.