Skip to content

Commit

Permalink
1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
farzinenddo authored Sep 2, 2016
1 parent 53032be commit 1f8ede9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions System/Core/Interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ def mainLoop():
readline.set_completer(comp.complete)
while True:
input = raw_input('SMOD >').strip().split()
if(input[0] in Command.COMMANDS):
result = getattr(globals()['Command'](),input[0])(input)
if(input):
if(input[0] in Command.COMMANDS):
result = getattr(globals()['Command'](),input[0])(input)


0 comments on commit 1f8ede9

Please sign in to comment.