Skip to content

Commit

Permalink
Merge pull request #42 from ayhanyalcinsoy/master
Browse files Browse the repository at this point in the history
Update volunteer.py
  • Loading branch information
Rmys authored Oct 3, 2019
2 parents 7298649 + 873e6b1 commit 16c4db9
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 16c4db9

Please sign in to comment.