remove get_library_location
This commit is contained in:
@@ -175,18 +175,7 @@ class ARRAYData:
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def _get_library_location(data):
|
|
||||||
try:
|
|
||||||
sig_data = (
|
|
||||||
data.split("[allfields]")[1]
|
|
||||||
.split("[0] => ")[1]
|
|
||||||
.split("\n")[0]
|
|
||||||
.strip()
|
|
||||||
)
|
|
||||||
signature_data = eval(sig_data)
|
|
||||||
return int(signature_data["so_standort"])
|
|
||||||
except Exception as e:
|
|
||||||
return None
|
|
||||||
|
|
||||||
def _get_author(data):
|
def _get_author(data):
|
||||||
try:
|
try:
|
||||||
@@ -241,7 +230,6 @@ class ARRAYData:
|
|||||||
pages=_get_list_entry(data, "[umfang]", "[0]").split(":")[0].strip(),
|
pages=_get_list_entry(data, "[umfang]", "[0]").split(":")[0].strip(),
|
||||||
signature=_get_signature(data),
|
signature=_get_signature(data),
|
||||||
place=_get_list_entry(data, "[pp]", "[0]"),
|
place=_get_list_entry(data, "[pp]", "[0]"),
|
||||||
library_location=_get_library_location(data),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user