Skip to content

Commit

Permalink
Update volunteer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ayhanyalcinsoy authored Oct 3, 2019
1 parent 7298649 commit 873e6b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gonullu/volunteer.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ def sandbox_is_require(self):

with open(config_file, 'r') as sandbox_file:
try:
if self.package in yaml.load(sandbox_file):
#FIXME! yaml.load(input) is depricated
if self.package in yaml.load(sandbox_file, Loader=yaml.FullLoader):
return False
except:
self.log.error(message='%s dosyası işlenemedi' % config_file)
Expand Down

0 comments on commit 873e6b1

Please sign in to comment.