1
0

do not raise exception if uri has an unknown key

This commit is contained in:
ThomasV
2015-07-21 11:54:45 +02:00
parent e77f0c98e7
commit 2c1fb1e37c
2 changed files with 0 additions and 3 deletions

View File

@@ -261,8 +261,6 @@ def parse_URI(uri):
for k, v in pq.items():
if len(v)!=1:
raise Exception('Duplicate Key', k)
if k not in ['amount', 'label', 'message', 'r', 'id', 'sig', 'timestamp', 'expiration']:
raise BaseException('Unknown key', k)
out = {k: v[0] for k, v in pq.items()}
if address: