summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo <Code-WvS@quantentunnel.de>2015-02-24 12:57:24 +0100
committerTimo <Code-WvS@quantentunnel.de>2015-02-24 12:57:24 +0100
commit4c692f7ae9baa73e24f2de0f5e4c7c9d94de6d64 (patch)
tree125d7965e9257391c2020c350e8089315764de51
parent6e2ec01ca818c9555c3584d186e755bc0360bda1 (diff)
downloadSnapDB-4c692f7ae9baa73e24f2de0f5e4c7c9d94de6d64.tar.gz
SnapDB-4c692f7ae9baa73e24f2de0f5e4c7c9d94de6d64.zip
fix missing port config
-rwxr-xr-xsnapdb.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/snapdb.py b/snapdb.py
index 8fbf25b..38d05b2 100755
--- a/snapdb.py
+++ b/snapdb.py
@@ -1,9 +1,10 @@
#!/usr/bin/env python3
-
import sys
from mongodict import MongoDict
from blockext import *
+PORT=4345
+
class Storage:
def __init__(self):
self.disconnect()
@@ -50,7 +51,7 @@ class Storage:
descriptor = Descriptor(
name="SnapDB",
- port=config["localport"],
+ port=PORT,
blocks=get_decorated_blocks_from_class(Storage)
)