summaryrefslogtreecommitdiff
path: root/tasks.py
diff options
context:
space:
mode:
authorankitjavalkar2018-01-02 18:24:27 +0530
committerankitjavalkar2018-01-04 12:51:43 +0530
commit2846e4372bb5d255c9b4405456b133f174916893 (patch)
treea2c030c382ce79d63cb75835954aa4bca2c36cb8 /tasks.py
parent7d7cc537f908db40ca6f3b10cc2c10d597b2877a (diff)
downloadonline_test-2846e4372bb5d255c9b4405456b133f174916893.tar.gz
online_test-2846e4372bb5d255c9b4405456b133f174916893.tar.bz2
online_test-2846e4372bb5d255c9b4405456b133f174916893.zip
- Update README_production.rst to fix incorrect commands, links and formatting
- Remove README inside docker folder
Diffstat (limited to 'tasks.py')
-rw-r--r--tasks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks.py b/tasks.py
index 4a29c4d..8396723 100644
--- a/tasks.py
+++ b/tasks.py
@@ -63,7 +63,7 @@ def serve(ctx):
@task
def clean(ctx):
print("** Discarding database **")
- ctx.run("rm -rf {0}".format(os.path.join(SCRIPT_DIR, 'db.sqlite3')))
+ remove_check_file(os.path.join(SCRIPT_DIR, 'db.sqlite3'))
@task
def getimage(ctx, image=SRC_IMAGE_NAME):