diff options
-rw-r--r-- | config.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,7 +1,9 @@ # configuration file of pastme service +import os.path + # the directory where the pastes are stored -pastedir = '/tmp/pastes' +pastedir = '/pastes' if os.path.exists('/pastes') else '/tmp/pastes' # how many days a paste remain stored timeout = 30 |