summaryrefslogtreecommitdiff
path: root/snapdb.py
diff options
context:
space:
mode:
Diffstat (limited to 'snapdb.py')
-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)
)