Skip to content

Commit

Permalink
Fix issue with generation of files
Browse files Browse the repository at this point in the history
Thanks to @AdroitAdorKhan for pointing out 👍
  • Loading branch information
funilrys committed Jun 2, 2018
1 parent 097f6a6 commit c378aef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion PyFunceble/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
from PyFunceble.production import Production

CURRENT_DIRECTORY = getcwd() + directory_separator
VERSION = "0.72.0.beta"
VERSION = "0.72.1.beta"

CONFIGURATION = {}
CURRENT_TIME = strftime("%a %d %b %H:%m:%S %Z %Y")
Expand Down
4 changes: 2 additions & 2 deletions PyFunceble/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ def __init__(self, domain_status, source=None, expiration_date=None):
self.refer_status = ""
self.output = ""

if PyFunceble.CONFIGURATION["domain"]:
if "domain" in PyFunceble.CONFIGURATION:
self.tested = PyFunceble.CONFIGURATION["domain"]
elif PyFunceble.CONFIGURATION["URL"]:
elif "URL" in PyFunceble.CONFIGURATION:
self.tested = PyFunceble.CONFIGURATION["URL"]

def hosts_file(self):
Expand Down
2 changes: 1 addition & 1 deletion version.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
current_version: 0.72.0.beta
current_version: 0.72.1.beta
deprecated: [0.0.0, 0.0.1, 0.65.0, 0.67.1, 0.68.0, 0.69.3, 0.69.5, 0.70.4, 0.71.2]
force_update:
minimal_version: [0.0.0, 0.0.1]
Expand Down

0 comments on commit c378aef

Please sign in to comment.