Skip to content

Commit

Permalink
is with literal, gonullu satir 27,28 if response is -1 degil if resp…
Browse files Browse the repository at this point in the history
…onse == -1 olmasi gerek
  • Loading branch information
ilkermanap committed Oct 18, 2022
1 parent b2fe0b8 commit 1ed1927
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/gonullu
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ Asagidaki satir, docker icin islemcinin %70'ini, fiziksel hafizanin
def main(log_main, volunteer_main, farm_main):
while 1:
response = farm_main.get_package()
if response is -1 or response is -2:
if response is -1:
if (response == -1) or (response == -2):
if response == -1:
farm_main.wait(message='dir yeni paket bekleniyor.')
else:
volunteer_main.get_package_farm(response)
Expand Down

0 comments on commit 1ed1927

Please sign in to comment.