From 7337d5451153d2aafc7d73856a23aa174b66d085 Mon Sep 17 00:00:00 2001 From: blitzmann Date: Sun, 16 Mar 2014 23:57:52 -0400 Subject: [PATCH] Added fit import from copied eve chat --- eos/saveddata/fit.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/eos/saveddata/fit.py b/eos/saveddata/fit.py index cb95cc435..bad5c4e01 100755 --- a/eos/saveddata/fit.py +++ b/eos/saveddata/fit.py @@ -74,6 +74,12 @@ class Fit(object): # to avoid possible detection errors firstLine = re.split("[\n\r]+", string, maxsplit=1)[0] firstLine = firstLine.strip() + + # If we have ".*", firstLine) + if chatDna: + return "DNA", (cls.importDna(chatDna.group(1)),) # If XML-style start of tag encountered, detect as XML if re.match("<", firstLine): return "XML", cls.importXml(string)