From 50445edb7964610a8fc3c9e6077f25fb675c83b4 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Thu, 16 Nov 2017 14:53:34 +0100 Subject: [PATCH] scripts: Move copyusers.py to scripts folder Signed-off-by: Adrian Schmutzler --- copyusers.py => scripts/copyusers.py | 4 ++++ 1 file changed, 4 insertions(+) rename copyusers.py => scripts/copyusers.py (87%) diff --git a/copyusers.py b/scripts/copyusers.py similarity index 87% rename from copyusers.py rename to scripts/copyusers.py index 6d7e8b5..27fe2b8 100755 --- a/copyusers.py +++ b/scripts/copyusers.py @@ -1,5 +1,9 @@ #!/usr/bin/python3 +import os +import sys +sys.path.insert(0, os.path.abspath(os.path.dirname(__file__) + '/' + '..')) + from ffmap.mysqltools import FreifunkMySQL import pymongo