~tomasgroth/openlp/portable-path

« back to all changes in this revision

Viewing changes to openlp/plugins/songs/lib/importers/easyworship.py

  • Committer: Tomas Groth
  • Date: 2019-04-30 19:02:42 UTC
  • mfrom: (2829.2.32 openlp)
  • Revision ID: tomasgroth@yahoo.dk-20190430190242-6zwjk8724tyux70m
trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
###############################################################################
5
5
# OpenLP - Open Source Lyrics Projection                                      #
6
6
# --------------------------------------------------------------------------- #
7
 
# Copyright (c) 2008-2018 OpenLP Developers                                   #
 
7
# Copyright (c) 2008-2019 OpenLP Developers                                   #
8
8
# --------------------------------------------------------------------------- #
9
9
# This program is free software; you can redistribute it and/or modify it     #
10
10
# under the terms of the GNU General Public License as published by the Free  #
31
31
 
32
32
from openlp.core.common.i18n import translate
33
33
from openlp.core.common.path import Path
34
 
from openlp.plugins.songs.lib import VerseType
35
 
from openlp.plugins.songs.lib import retrieve_windows_encoding, strip_rtf
 
34
from openlp.plugins.songs.lib import VerseType, retrieve_windows_encoding, strip_rtf
 
35
 
36
36
from .songimport import SongImport
37
37
 
 
38
 
38
39
# regex: at least two newlines, can have spaces between them
39
40
SLIDE_BREAK_REGEX = re.compile(r'\n *?\n[\n ]*')
40
41
NUMBER_REGEX = re.compile(r'[0-9]+')