Skip to content
Snippets Groups Projects
Commit 03697520 authored by Henrik Tjäder's avatar Henrik Tjäder
Browse files

Removed useless stuff

parent d8108c66
No related branches found
No related tags found
No related merge requests found
# pymongo for MongoDB support # pymongo for MongoDB support
import pymongo import pymongo
# For timestamping in MongoDB
import datetime
#pymongo connect #pymongo connect
DBConHost = 'localhost' DBConHost = 'localhost'
...@@ -13,12 +11,6 @@ DBCon = pymongo.MongoClient(DBConHost, DBConPort) ...@@ -13,12 +11,6 @@ DBCon = pymongo.MongoClient(DBConHost, DBConPort)
DB = DBCon[DBName] DB = DBCon[DBName]
DBTableStability = DB[DBTableName] DBTableStability = DB[DBTableName]
#post = { # Print all posts in the mongoDB
##"timestamp" : int(time.time()),
##Not needed since first 4bits of _id is timestamp
#"stability" : mos,
#"position" : False # Position appended here
#}
for post in DBTableStability.find(): for post in DBTableStability.find():
print(post) print(post)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment