diff --git a/ci/travis/test.sh b/ci/travis/test.sh index 60d5d0af1fdbdacb0dccd32722dcf70ca5dc1ca8..645a7511666d61f276dce10c95689aec848d25e7 100755 --- a/ci/travis/test.sh +++ b/ci/travis/test.sh @@ -22,7 +22,7 @@ if [ $TRAVIS_OS_NAME == "linux" ] then py.test --cov=sakia tests/ else - py.test + py.test -s fi diff --git a/src/sakia/gui/dialogs/transfer/controller.py b/src/sakia/gui/dialogs/transfer/controller.py index 0b9000bbe078ba0bcc9cac5ca9b42953bfc47d3f..cd17d135bd29ef323c78cbcb60cec120126055fb 100644 --- a/src/sakia/gui/dialogs/transfer/controller.py +++ b/src/sakia/gui/dialogs/transfer/controller.py @@ -141,6 +141,8 @@ class TransferController(QObject): amount = self.view.spinbox_amount.value() * 100 #TODO: Handle other amount base than 0 amount_base = self.model.current_base() + if amount_base <= 1: + amount_base = 0 logging.debug("Showing password dialog...") secret_key, password = self.password_input.get_salt_password()