Nepoužívaný kód
This commit is contained in:
parent
3188e024da
commit
2bb732959a
1 changed files with 0 additions and 11 deletions
|
@ -6,7 +6,6 @@ import decimal
|
|||
from django.contrib.auth import get_user_model
|
||||
from django.contrib.auth.decorators import permission_required, \
|
||||
user_passes_test
|
||||
from html.parser import HTMLParser
|
||||
from django import views as DjangoViews
|
||||
|
||||
from django.db import transaction
|
||||
|
@ -55,16 +54,6 @@ def inverze_vzorecku_na_prepocet(body: decimal.Decimal, resitelu) -> decimal.Dec
|
|||
return round(body * (resitelu + 2) / 3, 1)
|
||||
|
||||
|
||||
class FirstTagParser(HTMLParser):
|
||||
def __init__(self, *args, **kwargs):
|
||||
self.firstTag = None
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
def handle_data(self, data):
|
||||
if self.firstTag == None:
|
||||
self.firstTag = data
|
||||
|
||||
|
||||
def histogram(seznam):
|
||||
d = {}
|
||||
for i in seznam:
|
||||
|
|
Loading…
Reference in a new issue