mirror of
https://github.com/cooperhammond/irs.git
synced 2025-01-17 21:17:07 +00:00
Hopeful fix
This commit is contained in:
parent
b7daa1f76f
commit
88c4c4a890
|
@ -1,6 +1,8 @@
|
|||
import ydl_binaries
|
||||
from shutil import copyfile
|
||||
import os
|
||||
import inspect
|
||||
import irs
|
||||
|
||||
|
||||
def setup():
|
||||
|
@ -9,4 +11,9 @@ def setup():
|
|||
|
||||
config_file = os.path.expanduser("~/.irs/config_.py")
|
||||
if not os.path.isfile(config_file):
|
||||
copyfile("irs/config_preset", config_file)
|
||||
print("\n")
|
||||
os.system("ls " + os.path.dirname(inspect.getfile(irs)))
|
||||
print(inspect.getfile(irs))
|
||||
print("\n")
|
||||
copyfile(os.path.dirname(inspect.getfile(irs)) + "/config_preset.py",
|
||||
config_file)
|
||||
|
|
Loading…
Reference in a new issue