Skip to content

Commit

Permalink
minor syntax correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Alen Siljak committed Nov 25, 2017
1 parent b54e3aa commit bce559d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion piecash/core/commodity.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class Commodity(DeclarativeBaseGuid):
def base_currency(self):
b = self.book
if b is None:
raise GnucashException("The commodity should be link to a session to have a 'base_currency'")
raise GnucashException("The commodity should be linked to a session to have a 'base_currency'")

if self.namespace == "CURRENCY":
# get the base currency as first commodity in DB
Expand Down

0 comments on commit bce559d

Please sign in to comment.