Skip to content

Commit 856cd70

Browse files
authored
Update parser.py
1 parent 689d9e0 commit 856cd70

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

source/parser.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
SUBSCRIPTIONS_PATH = os.path.join(DEPLOY_PATH, 'subscriptions')
4040
# Разрешённые протоколы
4141
ALLOWED = ['vmess', 'vless', 'ss']
42-
42+
os.chdir(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
43+
print(f"📁 Текущая папка: {os.getcwd()}")
4344
async def fetch(session, url):
4445
"""Скачивание одного источника"""
4546
try:
@@ -140,3 +141,4 @@ async def main():
140141
if __name__ == '__main__':
141142
asyncio.run(main())
142143

144+

0 commit comments

Comments
 (0)