aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sets.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sets.py b/sets.py
index 0f9e57f..af0cd4e 100644
--- a/sets.py
+++ b/sets.py
@@ -108,6 +108,7 @@ if len(next.elems) > 0:
formula = sys.argv[1]
formula = formula.replace('\\', '-').replace('*', '&').replace('+', '|')
+formula = formula.replace('C', '~').replace('!', '~')
for i in range(0, 10):
formula = formula.replace('%i' % i, 'sets[%i]' % i)