Skip to content

Commit

Permalink
fix pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Feb 25, 2017
1 parent b0e3952 commit e2d8de4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/custom_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,4 @@ def setup_logger(logger_name):

# add the handlers to the logger
add_logging_handler_once(logger, console_handler)
add_logging_handler_once(logger, qgis_handler)
add_logging_handler_once(logger, qgis_handler)
2 changes: 1 addition & 1 deletion core/parser/osm_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def parse(self):
msg = "Error on the layer : " + \
layers[layer]['vectorLayer'].lastError()
raise GeoAlgorithmExecutionException(msg)

layers[layer]['vectorLayer'].setProviderEncoding('UTF-8')

# Set some default tags
Expand Down
3 changes: 2 additions & 1 deletion quick_osm.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
from QuickOSM.ui.query_dialog import QueryDockWidget
from QuickOSM.ui.osm_file_dialog import OsmFileDockWidget
from QuickOSM.ui.quick_query_dialog import QuickQueryDockWidget
from QuickOSM.quick_osm_processing.algorithm_provider import QuickOSMAlgorithmProvider
from QuickOSM.quick_osm_processing.algorithm_provider import (
QuickOSMAlgorithmProvider)
from QuickOSM.core.utilities.tools import (
get_current_version,
get_setting,
Expand Down
1 change: 1 addition & 0 deletions ui/test/test_quickosm_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

from QuickOSM.ui.QuickOSMWidget import QuickOSMWidget


class TestQuickOSMWidget(unittest.TestCase):

def setUp(self):
Expand Down

0 comments on commit e2d8de4

Please sign in to comment.