Skip to content

Commit

Permalink
Fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
paradoxxxzero committed May 4, 2015
1 parent a61384f commit 0217514
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion demo/moulinrouge/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ def test_frenchmapdepartments():

@app.route('/test/swissmap')
def test_swissmap():
smap = SwissMap_Cantons(style=choice(list(styles.values())))
smap = SwissMapCantons(style=choice(list(styles.values())))
for i in range(10):
smap.add('s%d' % i, [
(choice(list(CANTONS.keys())), randint(0, 100))
Expand Down
4 changes: 2 additions & 2 deletions pygal/graph/frenchmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@


with open(os.path.join(
os.path.dirname(__file__),
os.path.dirname(__file__), 'maps',
'fr.departments.svg')) as file:
DPT_MAP = file.read()

Expand All @@ -184,7 +184,7 @@ class FrenchMapDepartments(BaseMap):


with open(os.path.join(
os.path.dirname(__file__),
os.path.dirname(__file__), 'maps',
'fr.regions.svg')) as file:
REG_MAP = file.read()

Expand Down
2 changes: 1 addition & 1 deletion pygal/graph/swissmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@


with open(os.path.join(
os.path.dirname(__file__),
os.path.dirname(__file__), 'maps',
'ch.cantons.svg')) as file:
CNT_MAP = file.read()

Expand Down
2 changes: 1 addition & 1 deletion pygal/graph/worldmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import os

with open(os.path.join(
os.path.dirname(__file__),
os.path.dirname(__file__), 'maps',
'worldmap.svg')) as file:
WORLD_MAP = file.read()

Expand Down

0 comments on commit 0217514

Please sign in to comment.