Skip to content

Commit

Permalink
tidying code
Browse files Browse the repository at this point in the history
stuchalk committed Dec 17, 2024
1 parent d1e3cac commit c3f7996
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dashboard/example.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
# import json
import json
import os
import django
import re

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "umisconfig.settings")
django.setup()
from dashboard.repsys_ingest import *
from datetime import date, datetime
from datetime import date
from units.functions import *
from wdfunctions import *

@@ -747,7 +745,7 @@
if 'merror' in isq:
quant['isq'] = None
else:
tmp = re.findall(r'alttext="\{(.+?)\}"', isq)
tmp = re.findall(r'alttext="\{(.+?)}"', isq)
isq = (tmp[0].replace("\\displaystyle", '').replace("\\mathsf", '').replace(' ', '').
replace('{{', '').replace('}}', ''))
quant['isq'] = isq

0 comments on commit c3f7996

Please sign in to comment.