Fix in methods walk
This commit is contained in:
parent
cb34e7847b
commit
0404a99097
|
@ -7,6 +7,7 @@ from .easydocs import LODocuments
|
||||||
|
|
||||||
|
|
||||||
def __getattr__(name):
|
def __getattr__(name):
|
||||||
|
print(name)
|
||||||
classes = {
|
classes = {
|
||||||
'active': LODocuments().active,
|
'active': LODocuments().active,
|
||||||
'active_sheet': LODocuments().active.active,
|
'active_sheet': LODocuments().active.active,
|
||||||
|
@ -14,7 +15,6 @@ def __getattr__(name):
|
||||||
'cmd': LOMain.commands,
|
'cmd': LOMain.commands,
|
||||||
'color': Color(),
|
'color': Color(),
|
||||||
'config': Config,
|
'config': Config,
|
||||||
'current_region': LODocuments().active.selection.current_region,
|
|
||||||
'dates': Dates,
|
'dates': Dates,
|
||||||
'dialog': LODialog,
|
'dialog': LODialog,
|
||||||
'dispatch': LOMain.dispatch,
|
'dispatch': LOMain.dispatch,
|
||||||
|
|
|
@ -666,6 +666,7 @@ class LOCalc(LODocument):
|
||||||
sel = None
|
sel = None
|
||||||
selection = self.obj.CurrentSelection
|
selection = self.obj.CurrentSelection
|
||||||
type_obj = selection.ImplementationName
|
type_obj = selection.ImplementationName
|
||||||
|
|
||||||
if type_obj in self.TYPE_RANGES:
|
if type_obj in self.TYPE_RANGES:
|
||||||
sel = LOCalcRange(selection)
|
sel = LOCalcRange(selection)
|
||||||
elif type_obj == self.RANGES:
|
elif type_obj == self.RANGES:
|
||||||
|
|
|
@ -5,6 +5,8 @@ import getpass
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
import platform
|
import platform
|
||||||
|
import re
|
||||||
|
import shutil
|
||||||
import sys
|
import sys
|
||||||
import threading
|
import threading
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue