-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updated support for brew shop and resin room #2
base: database_version
Are you sure you want to change the base?
Conversation
Resin Room added to csv and config Brew Shop added to config
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from the individual file/line comments, the title of this PR is "Add Rooms" but the code changes are far more significant than that. Were many files added to this PR unintentionally, or is it misnamed?
Untitled-1.ipynb
Outdated
@@ -0,0 +1,164 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding a file called "Untitled"? Was this added accidentally, or does it simply need a more appropriate name?
newSync.py
Outdated
# output_string += f"Contracts: {self.nexudus_contracts}" | ||
# output_string += f"Contracts: {self.nexudus_contracts}" | ||
# output_string += f"Contracts: {self.nexudus_contracts}" | ||
# output_string += f"Contracts: {self.nexudus_contracts}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5 identical commented lines. Suggest deleting all, or all but one of them.
newSync.py
Outdated
logging.debug("Starting Main Loop") | ||
|
||
now = datetime.datetime.now(datetime.timezone.utc) | ||
next_run = now - datetime.timedelta(minutes=update_frequency) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be now + timedelta
rather than minus? It looks like next_run
will be less than now
, creating an infinite loop at line 428 below...
Hey sorry, I walked @avianathema through this and I forgot we branched off @benihana77 s branch, so this PR includes those changes. I'll see if I can change the target branch, that should isolate the PR to the changes Avi actually made. |
Thanks. |
added trailing empty line per derrell's change request.
Resin Room added to csv and config
Brew Shop added to config