Skip to content

Commit 18b68ec

Browse files
Fix samll issue in predefined_areas function
1 parent 838c82c commit 18b68ec

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Magics/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
from .Magics import * # noqa
44

5-
__version__ = "1.5.6"
5+
__version__ = "1.5.7"

Magics/macro.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -724,9 +724,9 @@ def version():
724724
def predefined_areas():
725725
with LOCK:
726726
home = Magics.home()
727-
with open("%s/share/magics/projections.json" % (home.decode())) as input:
727+
with open("%s/share/magics/styles/projections.json" % (home.decode())) as input:
728728
projections = json.load(input)
729-
return projections.keys()
729+
return list(projections.keys())
730730

731731

732732
def wmscrs():

0 commit comments

Comments
 (0)