From 7d8a51880e9e06fb79cc8d728382b4253246d17c Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Mon, 21 Aug 2017 19:25:48 +0200 Subject: deleted "clear shell" function --- lib/classes.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'lib/classes.py') diff --git a/lib/classes.py b/lib/classes.py index 92dfe92..1da06f3 100644 --- a/lib/classes.py +++ b/lib/classes.py @@ -1,5 +1,4 @@ import redis, os -import platform try: from .config import config as co @@ -18,11 +17,7 @@ def clear(): """ clear the window """ - nameOs = platform.system() - if nameOs == 'Linux': - os.system('clear') - else: - os.system('clear') + print('\n' * 100) class PersonalError(Exception): -- cgit v1.2.3-18-g5258