mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
moved globals variable out of import scope
This commit is contained in:
parent
991c4d9686
commit
6c5b0ea93e
1 changed files with 4 additions and 6 deletions
|
|
@ -1,14 +1,9 @@
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
import json
|
|
||||||
import copy
|
import copy
|
||||||
import platform
|
import platform
|
||||||
import collections
|
import collections
|
||||||
import numbers
|
import numbers
|
||||||
try:
|
|
||||||
StringType = basestring
|
|
||||||
except NameError:
|
|
||||||
StringType = str
|
|
||||||
|
|
||||||
from pype.settings.lib import (
|
from pype.settings.lib import (
|
||||||
get_default_anatomy_settings,
|
get_default_anatomy_settings,
|
||||||
|
|
@ -17,9 +12,12 @@ from pype.settings.lib import (
|
||||||
from . import config
|
from . import config
|
||||||
from .log import PypeLogger
|
from .log import PypeLogger
|
||||||
|
|
||||||
|
|
||||||
log = PypeLogger().get_logger(__name__)
|
log = PypeLogger().get_logger(__name__)
|
||||||
|
|
||||||
|
try:
|
||||||
|
StringType = basestring
|
||||||
|
except NameError:
|
||||||
|
StringType = str
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue