17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# for streamripper with a parameter.
from config import conf
import os, os.path
# Stop button
class startup_workdir(object):
module = __name__
# button + hook
def __init__(self, parent):
os.chdir(
os.path.expandvars(
os.path.expanduser(
conf.start_dir
)
)
)
|
|
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# for streamripper with a parameter.
from config import conf
import os, os.path
# Stop button
class startup_workdir(object):
module = 'startup_workdir'
# button + hook
def __init__(self, parent):
os.chdir(
os.path.expandvars(
os.path.expanduser(
conf.start_dir
)
)
)
|