Passed
Push — master ( b8f359...927840 )
by Simon
03:10
created

hyperactive.long_term_memory.ltm_data_path   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 11
rs 10
c 0
b 0
f 0
wmc 1

1 Function

Rating   Name   Duplication   Size   Complexity  
A ltm_data_path() 0 3 1
1
# Author: Simon Blanke
2
# Email: [email protected]
3
# License: MIT License
4
5
import os
6
7
8
def ltm_data_path():
9
    current_path = os.path.realpath(__file__)
10
    return current_path.rsplit("/", 1)[0] + "/ltm_data/"
11