mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
i
This commit is contained in:
@@ -1,7 +1,10 @@
|
|||||||
try:
|
import os
|
||||||
|
import sys
|
||||||
|
|
||||||
|
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
|
||||||
|
|
||||||
|
try:
|
||||||
import pygit2
|
import pygit2
|
||||||
import os
|
|
||||||
|
|
||||||
repo = pygit2.Repository(os.path.abspath(os.path.dirname(__file__)))
|
repo = pygit2.Repository(os.path.abspath(os.path.dirname(__file__)))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user