ShariX Developer 20 цаг өмнө
parent
commit
db98c48c04
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      lib/seed.py

+ 2 - 2
lib/seed.py

@@ -1,5 +1,5 @@
 from rest_framework_api_key.models import APIKey
 from rest_framework_api_key.models import APIKey
-from platform_running.handlers.config import BOTLIST
+from webservice_running.handlers.config import BOTLIST
 
 
 def create_webservice_seed():
 def create_webservice_seed():
     create_api_key_for_handlers()
     create_api_key_for_handlers()
@@ -25,5 +25,5 @@ def create_api_key_for_handlers():
     api_key_list = list(map(lambda x: x[0] + '_key=' + x[1], api_key_list))
     api_key_list = list(map(lambda x: x[0] + '_key=' + x[1], api_key_list))
     txt = '\n'.join(api_key_list)
     txt = '\n'.join(api_key_list)
 
 
-    with open('platform_running/handlers/.env', 'w') as f:
+    with open('webservice_running/handlers/.env', 'w') as f:
         f.write(txt)
         f.write(txt)