Commit 5e707b22 by aagusti

update server

1 parent 6e056be1
......@@ -30,6 +30,12 @@ import base64
import hashlib
import hmac
import sys
from random import choice
from string import (
ascii_uppercase,
ascii_lowercase,
digits,
)
class DepartemenRoute(KodeModel, Base):
__tablename__ = 'departemen_route'
......
......@@ -33,9 +33,9 @@ from sqlalchemy import Integer
def rpc_params():
parameter = dict(
bjbva_url = get_settings()['bjbva_url'] and get_settings()['bjbva_url'].value.strip('/') or '',
bjbva_user = get_settings()['bjbva_user'] and get_settings()['bjbva_user'].value.strip() or '',
bjbva_key = get_settings()['bjbva_key'] and get_settings()['bjbva_key'].value.strip() or ''
bjbva_url = get_settings()['bjbva_url'] and get_settings()['bjbva_url'].strip('/') or '',
bjbva_user = get_settings()['bjbva_user'] and get_settings()['bjbva_user'].strip() or '',
bjbva_key = get_settings()['bjbva_key'] and get_settings()['bjbva_key'].strip() or ''
)
return parameter
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!