#!/usr/bin/env python
# coding: utf-8

import codecs

## PROSErial
# for rendering (template, menue etc) or html metatags are at the __bottom__ of the page and only __optional__
# [PROSErial](https://github.com/klml/PROSErial))

def splitproseserial(sourcefile, metaseparator):
    ## try if file is text (like md, css, js, yaml) and not a binary (jpg, gif)
    try:
        with codecs.open(sourcefile, 'r', encoding="utf-8") as opensourcefile:
            source = opensourcefile.read()
        return source.split(metaseparator)

    except UnicodeDecodeError:
        return False


b52b41816fa88786aaaf89372105bb650640bf6a
<mask token>

<mask token>


def splitproseserial(sourcefile, metaseparator):
    try:
        with codecs.open(sourcefile, 'r', encoding='utf-8') as opensourcefile:
            source = opensourcefile.read()
        return source.split(metaseparator)
    except UnicodeDecodeError:
        return False

import codecs


def splitproseserial(sourcefile, metaseparator):
    try:
        with codecs.open(sourcefile, 'r', encoding='utf-8') as opensourcefile:
            source = opensourcefile.read()
        return source.split(metaseparator)
    except UnicodeDecodeError:
        return False

#!/usr/bin/env python
# coding: utf-8

import codecs

## PROSErial
# for rendering (template, menue etc) or html metatags are at the __bottom__ of the page and only __optional__
# [PROSErial](https://github.com/klml/PROSErial))

def splitproseserial(sourcefile, metaseparator):
    ## try if file is text (like md, css, js, yaml) and not a binary (jpg, gif)
    try:
        with codecs.open(sourcefile, 'r', encoding="utf-8") as opensourcefile:
            source = opensourcefile.read()
        return source.split(metaseparator)

    except UnicodeDecodeError:
        return False

