aboutsummaryrefslogtreecommitdiff
path: root/vland.py
diff options
context:
space:
mode:
Diffstat (limited to 'vland.py')
-rwxr-xr-xvland.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/vland.py b/vland.py
index 5595caf..3dc50f9 100755
--- a/vland.py
+++ b/vland.py
@@ -59,7 +59,7 @@ util = VlanUtil()
print 'Connecting to DB...'
state.db = VlanDB(db_name=state.config.database.dbname,
- username=state.config.database.username)
+ username=state.config.database.username, readonly=False)
switches = state.db.all_switches()
print ' DB knows about %d switches' % len(switches)