fix paste info and deactivation scripts

Signed-off-by: Ricky Elrod <relrod@redhat.com>
This commit is contained in:
Ricky Elrod 2018-04-11 13:51:50 +00:00
parent dd1ccb9cc3
commit 150f622bcb
2 changed files with 2 additions and 0 deletions

View file

@ -1,6 +1,7 @@
#!/usr/bin/env python
import sys
sys.path.append('/usr/share/modern-paste/app')
import modern_paste
from util.cryptography import get_decid
from database.paste import deactivate_paste

View file

@ -1,6 +1,7 @@
#!/usr/bin/env python
import sys
sys.path.append('/usr/share/modern-paste/app')
import modern_paste
from util.cryptography import get_decid
from database.paste import get_paste_by_id