import os

__version__ = (0, 0, 1, 'alpha', 1)

FP_MAIN_TEMPLATE_DIR = os.path.join(
    os.path.dirname(os.path.abspath(__file__))
)

import os

__version__ = (0, 0, 1, 'alpha', 1)


def get_fancypages_paths(path):
    return [os.path.join(os.path.dirname(os.path.abspath(__file__)), path)]

Bring path function in line with oscar fancypages
Bring path function in line with oscar fancypages

  import os
  
  __version__ = (0, 0, 1, 'alpha', 1)
  
- FP_MAIN_TEMPLATE_DIR = os.path.join(
-     os.path.dirname(os.path.abspath(__file__))
- )
  
+ def get_fancypages_paths(path):
+     return [os.path.join(os.path.dirname(os.path.abspath(__file__)), path)]
+ 
Bring path function in line with oscar fancypages
## Code Before:
import os

__version__ = (0, 0, 1, 'alpha', 1)

FP_MAIN_TEMPLATE_DIR = os.path.join(
    os.path.dirname(os.path.abspath(__file__))
)

## Instruction:
Bring path function in line with oscar fancypages
## Code After:
import os

__version__ = (0, 0, 1, 'alpha', 1)


def get_fancypages_paths(path):
    return [os.path.join(os.path.dirname(os.path.abspath(__file__)), path)]
