diff options
| author | Timo <Code-WvS@quantentunnel.de> | 2015-02-24 12:57:24 +0100 |
|---|---|---|
| committer | Timo <Code-WvS@quantentunnel.de> | 2015-02-24 12:57:24 +0100 |
| commit | 4c692f7ae9baa73e24f2de0f5e4c7c9d94de6d64 (patch) | |
| tree | 125d7965e9257391c2020c350e8089315764de51 | |
| parent | 6e2ec01ca818c9555c3584d186e755bc0360bda1 (diff) | |
| download | SnapDB-4c692f7ae9baa73e24f2de0f5e4c7c9d94de6d64.tar.gz SnapDB-4c692f7ae9baa73e24f2de0f5e4c7c9d94de6d64.zip | |
fix missing port config
| -rwxr-xr-x | snapdb.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) ) |
