diff --git a/dice.py b/dice.py index be638ea..9cc1a7d 100644 --- a/dice.py +++ b/dice.py @@ -40,6 +40,7 @@ def calc_hash(key1,key2): # print( s ) print( w ) + if len(sys.argv) > 1: key1 = sys.argv[1] if len(sys.argv) > 2: @@ -57,4 +58,5 @@ else: if len(key1) > 0 or len(key2) > 0: calc_hash(key1, key2) else: - break; \ No newline at end of file + break; +