osamabyc86 commited on
Commit
caf922c
·
verified ·
1 Parent(s): 89a670e

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -3
main.py CHANGED
@@ -22,9 +22,7 @@ zeroconf.Zeroconf(skip_network=True)
22
  from zeroconf import Zeroconf
23
 
24
  try:
25
- zeroconf = Zeroconf(skip_network=True) # إذا الإصدار الجديد
26
- except TypeError:
27
- zeroconf = Zeroconf() # إذا الإصدار القديم
28
 
29
  # تشغيل external_server.py تلقائيًا
30
  def start_external_server():
 
22
  from zeroconf import Zeroconf
23
 
24
  try:
25
+ zeroconf = Zeroconf() # إذا الإصدار القديم
 
 
26
 
27
  # تشغيل external_server.py تلقائيًا
28
  def start_external_server():