Skip to content
Snippets Groups Projects

Upgrade ACTS to version 3.0.0

Merged Gerardo Ganis requested to merge acts-3.0.0 into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -40,7 +40,7 @@ def checkURL(url):
if "file://" in url:
return True if os.system('stat {0} 1>/dev/null 2>/dev/null'.format(url.replace('file://', ''))) == 0 else False
ret = requests.head(url)
return ret.status_code == 200
return ret.status_code in (200, 301, 302)
class Package:
Loading