From fe3410d8421f257f78163c63be6cc76ef9f5fd31 Mon Sep 17 00:00:00 2001 From: trygvrad Date: Sun, 6 Mar 2011 20:18:06 +0000 Subject: [PATCH] rettelser --- data | Bin 13312 -> 13312 bytes text_based.py | 6 +----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/data b/data index d16a14f519044bdac4c6ec7aeae896ca999f01d3..e175bb5282e1546ab2b0079c979c37d1d1cd6bdb 100644 GIT binary patch delta 180 zcmZq3Xvml#&1k++<}o|t`%N5|m>FMezRYdN!>rBNJegf0l!>uS11bTMlLr`8v4J)LvyvHd4j2jo zNB{%W1E>Rh15g7b0{8;V0-yqP0!XoeECK>5ACn#`7PDX~qy+{61K$7x-?I@A)dQ2? FGa)i@9*F<| diff --git a/text_based.py b/text_based.py index 742b7fb..a1ce44c 100755 --- a/text_based.py +++ b/text_based.py @@ -6,7 +6,7 @@ from sqlalchemy.sql import func from sqlalchemy import desc import re, sys, os, traceback, signal, readline from helpers import * -import datetime + exit_commands = ['exit', 'abort', 'quit', 'bye', 'eat flaming death', 'q'] help_commands = ['help', '?'] @@ -17,10 +17,6 @@ restart_commands = ['restart'] low_credit_warning_limit = -100 -def time(): - now=datetime.datetime.now() - out=str(now.day)+'-'+str(now.month)+'-'+str(now.year) - return(out) class ExitMenu(Exception): pass