From 3315309e00d659c3df40eaccffa0ff363c256872 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sat, 21 Sep 2019 18:24:42 -0400 Subject: nfsw/io.py: Add setup. --- nfsw/io.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nfsw/io.py b/nfsw/io.py index 6681480..9240759 100644 --- a/nfsw/io.py +++ b/nfsw/io.py @@ -20,3 +20,9 @@ def query(): return { 'ans': cmd } + + +def setup(): + """Setup user's state""" + if not r().exists(k('scene')): + r().set(k('scene'), 'sexshop') -- cgit v1.2.3