lllyasviel commited on
Commit
d72934f
·
1 Parent(s): d0ef75f
Files changed (1) hide show
  1. entry_with_update.py +6 -1
entry_with_update.py CHANGED
@@ -1,6 +1,11 @@
1
  import os
 
 
 
 
 
 
2
 
3
- os.chdir(os.path.dirname(os.path.abspath(__file__)))
4
 
5
  try:
6
  import pygit2
 
1
  import os
2
+ import sys
3
+
4
+
5
+ root = os.path.dirname(os.path.abspath(__file__))
6
+ sys.path.append(root)
7
+ os.chdir(root)
8
 
 
9
 
10
  try:
11
  import pygit2