Permalink
Browse files

Update pyllica.py

Adding a new layer of try/except on the separators (so that we can use only one separator).
  • Loading branch information...
Dorialexander committed Apr 23, 2014
1 parent b2f914b commit 2748772f8dfb88abe7234abf95078693f1f0b19c
Showing with 3 additions and 0 deletions.
  1. +3 −0 pyllica.py
View
@@ -94,6 +94,9 @@ def regex(textfile, sep1, sep2):
enterfile = sep + tail
else:
enterfile = "BEGINNING NOT ATTAINED" + chainecomplete
except:
enterfile = chainecomplete
try:
if sep2 in enterfile:
head, sep, tail = enterfile.partition(sep2)
globalfile = head + sep

0 comments on commit 2748772

Please sign in to comment.